Package Data | |
---|---|
Maintainer Username: | clarkeash |
Maintainer Contact: | me@ashleyclarke.me (Ashley Clarke) |
Package Create Date: | 2017-09-09 |
Package Last Update: | 2024-03-23 |
Language: | PHP |
License: | Apache-2.0 |
Last Refreshed: | 2024-12-15 15:07:22 |
Package Statistics | |
---|---|
Total Downloads: | 241,812 |
Monthly Downloads: | 2,574 |
Daily Downloads: | 11 |
Total Stars: | 34 |
Total Watchers: | 3 |
Total Forks: | 12 |
Total Open Issues: | 3 |
Validates colours, currently supporting hex codes only.
composer require laravel-validation-rules/colour
use LVR\Colour\Hex;
$request->validate([
'colour' => ['required', new Hex],
]);