lukaswhite / validation-rules
A collection of validation rules
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- illuminate/support: ^5.0|^6.0|^7.0|^8.0|^9.0
- lukaswhite/uk-postcode: ^1.0
Requires (Dev)
- phpunit/php-code-coverage: ^9.2
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-12-23 17:08:56 UTC
README
A collection of validation rules. It's highly likely I'll keep adding to it.
They're designed to be used with Laravel, but so long as you don't mind having illuminate\support
as a dependency, you could also use them outside of it.
Installation
composer require lukaswhite/validation-rules
Available Rules
Geo
- Latitude
- Longitude
- UK Postcodes
- US Zipcodes
Colors
- Hex colors
- RGB colors
- RGBa Colors
Dates
- Time (HH:mm)
Web
- Slugs