Description
You can validate data easier, Laravel validate have lots of rule class for validation.
The Laravel-Validate package enhanced Laravel validation capabilities with custom rules and methods for simplified and efficient validation logic.
Usage
You can use Laravel-Validate Rules very simply. You can use the new keyword before the rule name.
use Milwad\LaravelValidate\Rules\ValidPhoneNumber; return [ 'phone' => ['required', new ValidPhoneNumber()],];
Recent Courses on Laravel Daily
Laravel 13 Starter Kit Teams and Customizations
10 lessons
33 min
Laravel 13 Eloquent: Expert Level
41 lessons
1 h 34 min
Queues in Laravel 13
18 lessons
1 h 12 min read