Skip to content

amirmarmul/laravel-validation-rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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_password
  • current_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.

About

A set of laravel validation rules

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages