Skip to content

Commit 2ff5b5f

Browse files
committed
Add documentation for Iran car license plate
1 parent c824307 commit 2ff5b5f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/1.x/valid-iran-plate.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## ValidIranPlate
2+
3+
If you want to validate the Iran license plate number, you can use the `ValidIranPlate` rule:
4+
5+
```php
6+
use Milwad\LaravelValidate\Rules\ValidIranPlate;
7+
8+
return [
9+
'car-plate-number' => ['required', new ValidCarNumber()],
10+
/*
11+
* Iran plate license number:
12+
* 32 ی 321 ایران 45
13+
*/
14+
];
15+
```

0 commit comments

Comments
 (0)