A set of laravel validation rules
You can install the package via composer:
composer require kcdev/laravel-validation-rules
You need to publish:
php artisan vendor:publish --provider="Kcdev\ValidationRules\ValidationRulesServiceProvider"
basic_password
current_password
$request->validate([
'old_password' => 'required|current_password',
'new_password' => 'required|basic_password|confirmed',
]);
If you discover any security related issues, please email amiruddinmarmul@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.