ConvertEmptyStringsToNull. In effect, for every form request, Laravel will automatically trim any white space, while also converting all empty request fields to
$collection->filter->isArchived()? How cool is that? I'll show you how it all works in this episode.
As part of Laravel 5.4, Laravel Elixir has been upgraded and renamed to Laravel Mix. While both versions will continue to exist, Mix should be your build tool wrapper of choice. It's built on Webpack, and provides nearly the exact same friendly API that you're already used to.
php artisan make:controller), you'll now find a new
--modelflag. When called with the name of a model, Laravel will automatically generate a resourceful controller that includes the necessary boilerplate to inject this model in all relevant controller actions.
@componentdirective. With this new addition, you may now, where relevant, think in terms of components and slots (much like Vue's implementation). Define a view partial, reference any necessary variables, and then call this component from any other view. It's probably best if I simply show you!