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...
// Category
These posts are about request validation.
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...
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...