Understanding Laravel’s HighOrder Collections

One of my favourite features that was introduced in Laravel 5.4 are the higher order collection functions. It allows you to rewrite collect($models)->filter(function(Model $model) { $model->passesFilter(); }); to: collect($models)->filter->passesFilter(); This works with the filter method an a bunch of other collection methods. In a new post on his blog Nicola Malizia explains how these methods […]

Continue reading →

A Laravel package to impersonate users

A great feature of Laravel Spark is it’s ability to impersonate other users. As an admin you can view all screens as if you are logged in as another user. This allows you to easily spot a problem that your user might be reporting. Laravel-impersonate is a package, made by MarceauKa and Thibault Chazottes that […]

Continue reading →

Framework code complexity comparison

On his new blog on Medium, Taylor Otwell, creator of Laravel, published some statistics on the code complexity of various popular PHP frameworks. Draw your own conclusion. Last week as I was refactoring and cleaning Laravel for the 5.4 release, Graham Campbell showed me some code complexity statistics for the framework. I decided to compare […]

Continue reading →

Looking back on the year

Laravel News published a nice overview of what happened in the Laravel ecosystem in 2016. As 2016 is coming to a close it’s a great time to look back on the year and see just how much progress has been made. Laravel had a busy year with 5.3 being released, Laracon, updates to all the […]

Continue reading →