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
Mobile Apps: React Native vs Flutter vs NativePHP?
8 lessons
55 min
Next.js Basics for Laravel Developers
11 lessons
58 min
Laravel 13 Starter Kit Teams and Customizations
10 lessons
33 min