sandervankasteel / laravel-extended-validation
A Laravel library with extra validation rules
0.6.0
2022-12-12 21:23 UTC
Requires
- php: ^7.3|^8.0
- ext-bcmath: *
- illuminate/database: ^7.0|^8.0|^9.0
- illuminate/validation: ^7.0|^8.0|^9.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- nunomaduro/larastan: ^1.0
- orchestra/testbench: ^6.17
- pestphp/pest: ^1.21
README
This packages hopes to provide you with a lot of useful additional validation rules :)
Installation
Laravel Extended Validation requires PHP >= 7.3 and works with Laravel >= 7.0 (and higher).
composer require sandervankasteel/laravel-extended-validation
Validated versions
Laravel Extended Validation has been tested against the following PHP and Laravel version combinations
PHP 7.3 | PHP 7.4 | PHP 8.0 | PHP 8.1 | PHP 8.2 | PHP 8.3 | PHP 8.4 | |
---|---|---|---|---|---|---|---|
Laravel 7.0 | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ |
Laravel 8.0 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
Laravel 9.0 | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ❌ |
Laravel 10.0 | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ❌ |
Laravel 11.0 | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
Laravel 12.0 | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
Usage
All validation rules can be used as any regular Rule object, as mentioned in the Laravel documentation.