laravel-validation-rules maintained by kcdev
Description
A set of laravel validation rules
Author
Last update
2020/05/01 14:51
(dev-master)
License
Downloads
8
Tags
Laravel Validation Rules
A set of laravel validation rules
Installation
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"
Available Rules
basic_passwordcurrent_password
Usage
$request->validate([
'old_password' => 'required|current_password',
'new_password' => 'required|basic_password|confirmed',
]);
Security
If you discover any security related issues, please email amiruddinmarmul@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.