- Updated dependencies to support PHP 8.0
- Changed PHP sort functions to return
1
,0
or-1
instead of boolean
- Fixed Helper test namespace not matching PSR-0/PSR-4
- Fixed
setUp
visibility override in DefaultRuleTest
- String rule now does not fail on numerical input
- Required rule now does not fail on empty string
validated
method for getting only the validated params of the last validation
- Email rule
- URL rule
- IP rule
- AlphaDash rule
- AlphaNumeric rule
- Regex rule
- Required rule now fails on empty string
- Default rule
- Ability to register custom rules so that they can be resolved via string
- Default validation fail message formatting
- Custom validation messages
- RequiredWith rule
- Validator rule validation flow
- Validator error bag (validation fail will throw exception immediately)
- RequiredWithout continuing validation on null
- Numeric rule
- RequiredWithout rule
- Required nested params being validated in a non-required array
- Validation error bag display
- Nested wildcard param routing
- Ability to pass default context handler to constructor
- Empty array of params not being validated
- Wildcard support
- Boolean rule
- Default
Context
handler package - README.md
- Initial release
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.