sandervankasteel / laravel-extended-validation
A Laravel library with extra validation rules
Installs: 529
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 0
Open Issues: 10
pkg:composer/sandervankasteel/laravel-extended-validation
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.