8000 Release Feature additions, route constraints, and unit tests · phpdevcommunity/php-router · GitHub
[go: up one dir, main page]

Skip to content

Feature additions, route constraints, and unit tests

Compare
Choose a tag to compare
@phpdevcommunity phpdevcommunity released this 24 Apr 10:20
· 1 commit to master since this release
  • 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.
0