Cmd/Ctrl + K

Getting started

codemonster-ru/router registers routes, route groups, middleware metadata, route names, constraints, and matches requests by method and URI.

Basic usage

The following example creates a router, registers a route, and dispatches a request.

The router returns a matched route. Standalone applications are responsible for calling the handler and producing a response.