Skip to content

Releases: nusphere/laminas-router-attributes

1.0.0

27 Dec 13:10
Compare
Choose a tag to compare

Supported behavior from Symfony routes

configuration via Attributes

  • path -> domain route for methods or classes
  • name -> set up a name for the route
  • condition -> for more complex conditions about your route (require symfony/expression-language)
  • methods -> restrict the route to an explicit method
  • requirments -> Parameters Validation via RegExp
  • inline-defaults -> Inline default-settings (in combination with conditions, also)
  • defaults -> add default settings