Just released! Manage your Laravel projects with Invoker. The no-bull Laravel admin panel.
Blog
January 23, 2020
Passing Multiple Arguments To Laravel Policy Methods
In most cases, when writing policies in Laravel, you only pass one argument to a policy method, since the authenticated user is already available through dependency injection and no other resources...
ReadDecember 20, 2019
Using The Where Clause in Validation Rules
Just recently I discovered you can apply where
statements to the unique
and exists
validation rules in Laravel, without using a closure.
This means you can...
December 15, 2019
Validating Array Lengths in Laravel
One of the cool things of Laravel's validation rules, is that you can apply certain rules to different data types. When checking the minimum and maximum size of an array, you can use the...
Read