A demonstration of the Laravel Fluent Validation package, which offers a chainable, IDE-autocomplete-friendly syntax for Laravel validation rules. Beyond syntax improvements, the package optimizes database queries for large array validation by batching exists/unique rule checks — reducing 1000+ queries down to 2 in a benchmark of 500 products with 5 variants each, cutting response time from ~1 second to ~85ms. The video walks through before/after comparisons using two form request classes and covers additional features like Livewire/Filament integration, Rector migration support, and nested array validation with each/children helpers.

9m watch time

Sort: