Skip to content

Commit 01bc83c

Browse files
committed
Update README.md
1 parent a1d4453 commit 01bc83c

File tree

1 file changed

+49
-48
lines changed

1 file changed

+49
-48
lines changed

README.md

Lines changed: 49 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ This package supports localization and can be used for most of the language. <br
2323
- ```Laravel >= 9.0```
2424

2525

26-
| GitHub | L6 | L7 | L8 | L9 | L10 | L11 |
27-
|-----------|--------------------|--------------------|--------------------|--------------------|--------------------|-------------------|
28-
| 1.5 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | :x:
29-
| 1.6 | :x: | :x: | :x: | :white_check_mark: | :white_check_mark: | :x:
30-
| 1.7 | :x: | :x: | :x: | :white_check_mark: | :white_check_mark: | :x:
31-
| 1.8 | :x: | :x: | :x: | :white_check_mark: | :white_check_mark: | :white_check_mark:|
26+
| GitHub | L6 | L7 | L8 | L9 | L10 | L11 |
27+
|--------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|
28+
| 1.5 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | :x: |
29+
| 1.6 | :x: | :x: | :x: | :white_check_mark: | :white_check_mark: | :x: |
30+
| 1.7 | :x: | :x: | :x: | :white_check_mark: | :white_check_mark: | :x: |
31+
| 1.8 | :x: | :x: | :x: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
3232

3333
# Installation
3434

@@ -46,13 +46,13 @@ If you want to publish a lang file for a custom validation message you can run t
4646
php artisan vendor:publish --tag="validate-lang-{$lang}"
4747
```
4848

49-
You can replace `$lang` with your lang name, for ex:
49+
You can replace `$lang` with your lang name, for example:
5050

5151
```shell
5252
php artisan vendor:publish --tag="validate-lang-en"
5353
```
5454

55-
If you don't know about langs name you can go [Support Languages](#support-languages)
55+
If you don't know about langs name you can see [Support Languages](#support-languages) section.
5656

5757
# Usage
5858

@@ -68,46 +68,47 @@ return [
6868

6969
# Rules
7070

71-
| # | Rule name | Usage |
72-
|----|----------------------------|--------------------------------------------------------------------------|
73-
| 1 | ValidBitcoinAddress | Validate bitcoin address for ex (1KFHE7w8BhaENAswwryaoccDb6qcT6DbYY) |
74-
| 2 | ValidCapitalCharWithNumber | Validate String for ex (MILWAD-84) |
75-
| 3 | ValidDiscordUsername | Validate username discord for ex (Milwad#2134) |
76-
| 4 | ValidHashtag | Validate hashtag for ex (#milwad) |
77-
| 5 | ValidIpAddressIPV4 | Validate ip address IPV4 for ex (129.144.50.56) |
78-
| 6 | ValidIpAddressIPV6 | Validate ip address IPV6 for ex (2001:db8:3333:4444:5555:6666:7777:8888) |
79-
| 7 | ValidPhoneNumber | Validate phone number for ex (09366000000) |
80-
| 8 | ValidPort | Validate port value for ex (8080) |
81-
| 9 | ValidSlug | Validate slug for ex (milwad-dev) |
82-
| 10 | ValidImei | Validate imei phone for ex (354809104295874) |
83-
| 11 | ValidStrongPassword | Validate password for ex (Milwad123!) |
84-
| 12 | ValidUrl | Validate url for ex (https://www.google.com) |
85-
| 13 | ValidUsername | Validate username for ex (milwad) |
86-
| 14 | ValidUuid | Validate uuid for ex (123e4567-e89b-12d3-a456-426655440000) |
87-
| 15 | ValidHexColor | Validate hex color for ex (#fcba03) |
88-
| 16 | ValidHtmlTag | Validate html tags for ex (``<h1></h1>``) |
89-
| 17 | ValidNationalCard | Validate national card for ex (015016437) |
90-
| 18 | ValidCarNumber | Validate car number for ex (KA01AB1234) |
91-
| 19 | ValidNameDaysWeek | Validate day week for ex (monday) |
92-
| 20 | ValidEvenNumber | Validate number is even for ex (1024) |
93-
| 21 | ValidOddNumber | Validate number is odd for ex (4321) |
94-
| 22 | ValidSlashEndOfString | Validate write slash at the string for ex (milwad/) |
95-
| 23 | ValidCartNumberIran | Validate cart number for ex (1234123412341234) |
96-
| 24 | ValidBase64 | Validate base64 for ex (bWlsd2Fk) |
97-
| 25 | ValidJwt | Validate jwt |
98-
| 26 | ValidJalaliDate | Validate jalali date for ex (1384/8/25) |
99-
| 27 | ValidDuplicateCharacter | Validate duplicate characters for ex (1,2,3,4,5,6,7,8,9) |
100-
| 28 | ValidPattern | Validate texts with specific pattern 🔥 for ex (4444-4444-4444) |
101-
| 29 | ValidDuplicate | Validate duplicate string, numbers for ex (1123456) |
102-
| 30 | ValidUlid | Validate ulid for ex (01ARZ3NDEKTSV4RRFFQ69G5FAV) |
103-
| 31 | ValidDomain | Validate domain name for ex (github.com) |
104-
| 32 | ValidCamelCase | Validate camel case for ex (milwadDev) |
105-
| 33 | ValidPascalCase | Validate pascal case for ex (MilwadDev) |
106-
| 34 | ValidKebabCase | Validate kebab case for ex (milwad-dev) |
107-
| 35 | ValidSnakeCase | Validate snake case for ex (milwad_dev) |
108-
| 36 | ValidVatId | Validate european VAT ID ex (EL123456789123) |
109-
| 37 | ValidIban | Validate IBAN ex (IR062960000000100324200001) |
110-
| 38 | ValidIranPostalCode | Validate Iran postal code ex (3354355599) |
71+
| # | Rule name | Usage |
72+
|----|----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
73+
| 1 | ValidBase64 | Validate base64 for ex (bWlsd2Fk) |
74+
| 2 | ValidBitcoinAddress | Validate bitcoin address for ex (1KFHE7w8BhaENAswwryaoccDb6qcT6DbYY) |
75+
| 3 | ValidCamelCase | Validate camel case for ex (milwadDev) |
76+
| 4 | ValidCapitalCharWithNumber | Validate String for ex (MILWAD-84) |
77+
| 5 | ValidCarNumber | Validate car number for ex (KA01AB1234) |
78+
| 6 | ValidCartNumberIran | Validate cart number for ex (1234123412341234) |
79+
| 7 | ValidCreditCard | Validate credit card for ex (4111111111111111) |
80+
| 8 | ValidDiscordUsername | Validate username discord for ex (Milwad#2134) |
81+
| 9 | ValidDomain | Validate domain name for ex (github.com) |
82+
| 10 | ValidDuplicate | Validate duplicate string, numbers for ex (1123456) |
83+
| 11 | ValidDuplicateCharacter | Validate duplicate characters for ex (1,2,3,4,5,6,7,8,9) |
84+
| 12 | ValidEvenNumber | Validate number is even for ex (1024) |
85+
| 13 | ValidHashtag | Validate hashtag for ex (#milwad) |
86+
| 14 | ValidHexColor | Validate hex color for ex (#fcba03) |
87+
| 15 | ValidHtmlTag | Validate html tags for ex (`<h1></h1>`) |
88+
| 16 | ValidIban | Validate IBAN ex (IR062960000000100324200001) |
89+
| 17 | ValidImei | Validate imei phone for ex (354809104295874) |
90+
| 18 | ValidIpAddressIPV4 | Validate ip address IPV4 for ex (129.144.50.56) |
91+
| 19 | ValidIpAddressIPV6 | Validate ip address IPV6 for ex (2001:db8:3333:4444:5555:6666:7777:8888) |
92+
| 20 | ValidIranPostalCode | Validate Iran postal code ex (3354355599) |
93+
| 21 | ValidJalaliDate | Validate jalali date for ex (1384/8/25) |
94+
| 22 | ValidJwt | Validate jwt for ex (eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjEyMzQ1Njc4OTAiLCJuYW1lIjoiSm9obiBEb2UiLCJhZG1pbiI6dHJ1ZSwiZXhwIjoxNTgyNjE2MDA1fQ.umEYVDP_kZJGCI3tkU9dmq7CIumEU8Zvftc-klp-334) |
95+
| 23 | ValidKebabCase | Validate kebab case for ex (milwad-dev) |
96+
| 24 | ValidNameDaysWeek | Validate day week for ex (monday) |
97+
| 25 | ValidNationalCard | Validate national card for ex (015016437) |
98+
| 26 | ValidOddNumber | Validate number is odd for ex (4321) |
99+
| 27 | ValidPascalCase | Validate pascal case for ex (MilwadDev) |
100+
| 28 | ValidPattern | Validate texts with specific pattern 🔥 for ex (4444-4444-4444) |
101+
| 29 | ValidPhoneNumber | Validate phone number for ex (09366000000) |
102+
| 30 | ValidPort | Validate port value for ex (8080) |
103+
| 31 | ValidSlashEndOfString | Validate write slash at the string for ex (milwad/) |
104+
| 32 | ValidSlug | Validate slug for ex (milwad-dev) |
105+
| 33 | ValidSnakeCase | Validate snake case for ex (milwad_dev) |
106+
| 34 | ValidStrongPassword | Validate password for ex (Milwad123!) |
107+
| 35 | ValidUlid | Validate ulid for ex (01ARZ3NDEKTSV4RRFFQ69G5FAV) |
108+
| 36 | ValidUrl | Validate url for ex (https://www.google.com) |
109+
| 37 | ValidUsername | Validate username for ex (milwad) |
110+
| 38 | ValidUuid | Validate uuid for ex (123e4567-e89b-12d3-a456-426655440000) |
111+
| 39 | ValidVatId | Validate european VAT ID ex (EL123456789123) |
111112

112113
# Rules
113114

0 commit comments

Comments
 (0)