laravel-shine / validator-extension
Installs: 396
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:package
pkg:composer/laravel-shine/validator-extension
Requires
- php: >=7.0
- illuminate/support: >=6.0
- illuminate/translation: >=6.0
- illuminate/validation: >=6.0
Requires (Dev)
- mockery/mockery: ^1.0
- phpunit/phpunit: >=7.0
This package is auto-updated.
Last update: 2025-12-07 09:14:58 UTC
README
Extend Laravel Validation Rules
Available Rules
| Rule | Format | Description |
|---|---|---|
| x_alpha | /^[A-Za-z]+$/ |
Alphabetic characters only. |
| x_alpha_num | /^[A-Za-z0-9]+$/ |
Alphabetic and numeric characters only. |
| x_alpha_dash | /^[A-Za-z0-9_-]+$/ |
Alphabetic, numeric, dashes and underscores. |
| x_hex | /^[A-Fa-f0-9]+$/ |
Hexadecimal charaters. |
| x_digits | /^[0-9]+$/ |
Numeric charaters |
| x_digits:length | /^[0-9]{length}$/ |
Numeric charaters that have an exact length. |
| x_digits:min,max | /^[0-9]{min,max}$/ |
Numeric charaters that have a length between min and max. |
| float | is_float() |
Is float number |