Skip to content

Commit 5cc0826

Browse files
authored
Update README.md
1 parent 9ab7cda commit 5cc0826

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,13 @@
88
<img src="http://img.shields.io/badge/[email protected]?style=flat-square">
99
</a>
1010
</p>
11+
12+
## Usgae
13+
14+
```php
15+
use LVR\Colour\Hex;
16+
17+
$request->validate([
18+
'colour' => ['required', new Hex],
19+
]);
20+
```

0 commit comments

Comments
 (0)