Skip to content

Commit

Permalink
Update validation rules documentation (#144)
Browse files Browse the repository at this point in the history
* Update rules.md

* Fix broken links by lowercasing the hashtags

* Alnum code example

* Add alpha code example

* Fix alpha example

* Add between code example

* Fix spelling error, "i" has been bought.

* Add bool, creditCard, and datetime examples

* Add digits, float, int, each, and email examples

* Add equals example

* Add link to the default validation rules in the readme

* Add greaterThan, and hash examples

* Add inArray examples

* Add isArray, json, length, lengthbetween, and lessThan examples

* Add numeric examples and a back to top link

* Add phone, regex, string, and url examples

* Add uuid to the docs, and fix the alphabetical order

* Add required and optional rules to the documentation

* Fix alphabetical order in the Chain

* Fix copy paste fail, don't tell anyone

* Add missing self constant reference on the Hash rule
  • Loading branch information
Rick van der Staaij committed Aug 12, 2016
1 parent 6ac2d35 commit fe18728
Show file tree
Hide file tree
Showing 13 changed files with 527 additions and 100 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -44,7 +44,7 @@ $result->getMessages();
* Overwrite the default error messages on rules, or error messages on specific values
* Get the validated values of an array
* Validate different contexts (insert, update, ect) inheriting validations of the default context
* A large set of default validation rules
* [A large set of default validation rules](http://validator.particle-php.com/en/latest/rules/)
* Ability to extend the validator to add your own custom rules

## Non functional features
Expand Down

0 comments on commit fe18728

Please sign in to comment.