Skip to content

Feature additions, route constraints, and unit tests

Latest
Compare
Choose a tag to compare
@phpdevcommunity phpdevcommunity released this 24 Apr 10:20
  • Introduced new where constraint methods including whereAnything(), whereTwoSegments(), whereDate(), whereYearMonth(), whereEmail(), whereUuid(), and whereBool() for route parameter validation.
  • Implemented flexible string matching and constraint handling for route parameters.
  • Added comprehensive unit tests for route matching using various complex constraints, including base64-encoded random strings.
  • Enhanced route handling with new pattern matching logic for complex and multi-segment URIs.
  • Updated documentation with usage examples for new route constraints and unit tests.