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: | 2025-03-30 15:06:52 |
Package Statistics | |
---|---|
Total Downloads: | 249,551 |
Monthly Downloads: | 1,982 |
Daily Downloads: | 9 |
Total Stars: | 34 |
Total Watchers: | 2 |
Total Forks: | 13 |
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],
]);