Skip to content
Arie Visser

    // Category

    Validation

    These posts are about request validation.

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

    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