These posts are about request validation.

December 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...


Sign up for the newsletter