Download the PHP package soyhuce/laravel-validation-rules without Composer
On this page you can find all versions of the php package soyhuce/laravel-validation-rules. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download soyhuce/laravel-validation-rules
More information about soyhuce/laravel-validation-rules
Files in soyhuce/laravel-validation-rules
Package laravel-validation-rules
Short Description A set of useful validation rules for Laravel
License MIT
Homepage https://github.com/soyhuce/laravel-validation-rules
Informations about the package laravel-validation-rules
A set of useful validation rules for Laravel
Main objective of this package is to provide a set of validation rules for Laravel in order to make it easier to write validation.
Installation
You can install the package via composer:
Usage
Available Rules
Database related rules :
DbRules::string
DbRules::boolean
DbRules::enum
DbRules::date
DbRules::dateTime
DbRules::tinyInteger
DbRules::unsignedTinyInteger
DbRules::smallInteger
DbRules::unsignedSmallInteger
DbRules::mediumInteger
DbRules::unsignedMediumInteger
DbRules::integer
DbRules::unsignedInteger
DbRules::bigInteger
DbRules::unsignedBigInteger
DbRules::smallIncrements
DbRules::mediumIncrements
DbRules::increments
DbRules::bigIncrements
DbRules::float
DbRules::double
Miscellaneous rules :
MisRules::safePassword
: GDPR/CNIL compatible password (at least 12 characters)MisRules::mediumPassword
: GDPR/CNIL compatible password (at least 8 characters)
Using in conditional Rule::when
Rules extending CompoundRule
cannot be used directly in Rule::when
.
You will need to use ...
in this case :
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Bastien Philippe
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-validation-rules with dependencies
illuminate/translation Version ^11.0
illuminate/support Version ^11.0
illuminate/validation Version ^11.0