Skip to main content
Back to packages
591 GitHub stars

milwad-dev/laravel-validate

View on GitHub

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

[NEW] NativePHP Mobile v4 with SuperNative: Mini-Course

5 lessons
18 min

Testing in Laravel 13 For Beginners

26 lessons
1 h 41 min read

Laravel 13 Eloquent: Expert Level

41 lessons
1 h 34 min