- Declared compatibility with Laravel 10
- Update PHPUnit config format
- Disable phone number Unit tests (need refactoring)
- Add String validation rules 'containsUppercase', 'containsLowercase', 'containsNumeral' - useful for password validation
- Declared compatibility with Laravel 7,8,9
Compatibility with Laravel 6
Add missed modelExists() description for intellisence this method in nested rules calls
Add modelExists() to check that identifier exists among passed model class instances
Add when() method that allows to build rules according to conditions
Enum rule. See https://github.com/Saritasa/php-common#enum
Enable Laravel's package discovery https://laravel.com/docs/5.5/packages#package-discovery
Add missed parent service provider register() call
Add rules for validation phone number
Resolve "Presence verifier has not been set." issue for exists and in rules
Add ability to use custom declared validation rules
Add 'sometimes' rule modifier
Add ServiceProvider - allows to use rule builder without explicit ->toString()
Add more rules, tests, and inline documentation
Basic rules:
- required
- required_with
- required_without
String rules:
- string
- regex
Int rules:
- int
- min
- max