@@ -28,48 +28,48 @@ return [
2828
2929## Available rules (47)
3030
31- | ** Methods** | ** Laravel Rule** | ** Methods** | ** Rule** |
32- | :-------------------------:| :---------------------:| :------------------------:| :--------------------------:|
33- | Rule::required() | required | ->startsWith() | starts_with: foo ,bar... |
34- | Rule::nullable() | nullable | ->uppercaseFirstLetter() | new UppercaseFirstLetter() |
35- | Rule::boolean() | boolean | ->size() | size |
36- | Rule::rules() | custom rules | ->endsWith() | ends_with: foo ,bar |
37- | ->email() | email | ->doesntStartWith() | doesnt_start_with: foo ,bar |
38- | ->uniqueEmail() | unique: users ,email | ->doesntEndWith() | doesnt_end_with: foo ,bar |
39- | ->min() | min | ->in() | in: foo ,bar... |
40- | ->max() | max | ->notIn() | not_in: foo ,bar,baz... |
41- | ->minDigits() | min_digits | | |
42- | ->maxDigits() | max_digits | | |
43- | ->integer() | integer | | |
44- | ->numeric() | numeric | | |
45- | ->digits() | digits:1 | | |
46- | ->digitsBetween() | digits:1,4 | | |
47- | ->decimal() | decimal | | |
48- | ->alpha() | alpha | | |
49- | ->alphaDash() | alpha_dash | | |
50- | ->alphaNum() | alpha_num | | |
51- | ->string() | string | | |
52- | ->uppercase() | uppercase | | |
53- | ->lowercase() | lowercase | | |
54- | ->regex() | regex: pattern | | |
55- | ->hexColor() | hex_color | | |
56- | ->json() | json | | |
57- | ->url() | url or url: http ,https | | |
58- | ->uuid() | uuid | | |
59- | ->ulid() | ulid | | |
60- | ->timezone() | timezone | | |
61- | ->date() | date | | |
62- | ->dateFormat() | date_format | | |
63- | ->dateEquals() | date_equals | | |
64- | ->dateBefore() | before | | |
65- | ->dateBeforeOrEqual() | before_or_equal | | |
66- | ->dateAfter() | after | | |
67- | ->dateAfterOrEqualToday() | after_or_equal: today | | |
68- | ->dateAfterOrEquals() | after_or_equal | | |
69- | ->ip() | ip | | |
70- | ->ipv4() | ipv4 | | |
71- | ->ipv6() | ipv6 | | |
72- | ->macAddress() | mac_address | | |
31+ | ** Methods** | ** Laravel Rule** | ** Methods** | ** Rule** |
32+ | :-------------------------:| :---------------------:| :------------------------------- :| :------- --------------------------:|
33+ | Rule::required() | required | ->startsWith() | starts_with: foo ,bar... |
34+ | Rule::nullable() | nullable | ->uppercaseFirstLetter() | new UppercaseFirstLetter() |
35+ | Rule::boolean() | boolean | ->size() | size |
36+ | Rule::rules() | custom rules | ->endsWith() | ends_with: foo ,bar |
37+ | ->email() | email | ->doesntStartWith() | doesnt_start_with: foo ,bar |
38+ | ->uniqueEmail() | unique: users ,email | ->doesntEndWith() | doesnt_end_with: foo ,bar |
39+ | ->min() | min | ->in() | in: foo ,bar... |
40+ | ->max() | max | ->notIn() | not_in: foo ,bar,baz... |
41+ | ->minDigits() | min_digits | ->separateIntegersByComma() | new SeparateIntegersByComma() |
42+ | ->maxDigits() | max_digits | ->separateStringsByComma() | new SeparateStringsByComma() |
43+ | ->integer() | integer | ->separateStringsByUnderscore() | new SeparateStringsByUnderscore() |
44+ | ->numeric() | numeric | ->timezones() | new TimezoneValidation() |
45+ | ->digits() | digits:1 | ->timezoneAsia() | new TimezoneRegionValidation() |
46+ | ->digitsBetween() | digits:1,4 | ->timezoneEurope() | new TimezoneRegionValidation() |
47+ | ->decimal() | decimal | ->timezoneAmerica() | new TimezoneRegionValidation() |
48+ | ->alpha() | alpha | ->timezoneAntarctica() | new TimezoneRegionValidation() |
49+ | ->alphaDash() | alpha_dash | ->timezoneArctic() | new TimezoneRegionValidation() |
50+ | ->alphaNum() | alpha_num | ->timezoneAtlantic() | new TimezoneRegionValidation() |
51+ | ->string() | string | ->timezoneAustralia() | new TimezoneRegionValidation() |
52+ | ->uppercase() | uppercase | ->timezoneIndian() | new TimezoneRegionValidation() |
53+ | ->lowercase() | lowercase | ->timezonePacific() | new TimezoneRegionValidation() |
54+ | ->regex() | regex: pattern | ->lowercaseFirstLetter() | new LowercaseFirstLetter() |
55+ | ->hexColor() | hex_color | | |
56+ | ->json() | json | | |
57+ | ->url() | url or url: http ,https | | |
58+ | ->uuid() | uuid | | |
59+ | ->ulid() | ulid | | |
60+ | ->timezone() | timezone | | |
61+ | ->date() | date | | |
62+ | ->dateFormat() | date_format | | |
63+ | ->dateEquals() | date_equals | | |
64+ | ->dateBefore() | before | | |
65+ | ->dateBeforeOrEqual() | before_or_equal | | |
66+ | ->dateAfter() | after | | |
67+ | ->dateAfterOrEqualToday() | after_or_equal: today | | |
68+ | ->dateAfterOrEquals() | after_or_equal | | |
69+ | ->ip() | ip | | |
70+ | ->ipv4() | ipv4 | | |
71+ | ->ipv6() | ipv6 | | |
72+ | ->macAddress() | mac_address | | |
7373
7474</div >
7575
0 commit comments