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->pas…
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->pas…
On his blog Mark Baker shares some thoughts on how to use closure binding to avoid having import variables with the use keyword. You’ll learn how to rewrite $filteredArrayData = array_filter( $arrayD…
For a client project I’ve been doing some vue.js lately and I just love it. So you might see a few more vue.js related stuff appear on this blog in the future. Here’s a nice site I stumbled across th…
In the JavaScript world Lodash is a pretty popular and awesome package with lots of handy array, collection and object methods. In this article Dan Prince explains that some of those methods do have…