Here is how you can sort a collection by an ordered array of ids. The use case here was that I had a number of objects in a Redis cache, which were retrieved in unsorted order. The objects were large,
Making progress in Laravel
I’m making good progress in learning Laravel. I just wrote a service provider, and then created a Facade for it. The concepts are coming together nicely. Here are a few of the pages I used to help figure this out: https://laravel.com/docs/5.2/providers#registering-providers
Laracast: Laravel 5 Fundamentals
Today I’m starting the Laracast “Laravel 5 Fundamentals”. Let’s see how long it takes me to complete it…
Installing Laravel site: permissions
If you get this error Error in exception handler. when trying to hit the root of a new install, do these two things on OSX: sudo chown -R _www app/storage (replace _www with your Apache server name if necessary)