Download the PHP package icanboogie/routing without Composer
On this page you can find all versions of the php package icanboogie/routing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download icanboogie/routing
More information about icanboogie/routing
Files in icanboogie/routing
Package routing
Short Description Request routing
License BSD-3-Clause
Homepage https://icanboogie.org/
Informations about the package routing
Routing
The icanboogie/routing package handles URL rewriting in native PHP. A Request is mapped to a Route, which in turn is mapped to a Responder. If the process is successful a response is returned. Events are emitted along the way to allow listeners to alter the request or the response, or recover from failure.
Routes are defined with attributes on plain controller classes. Path, query string, and body values
are cast to the types of the action's parameters, uploaded files are provided as File, and routes
work both ways: they match requests and generate URLs.
Build the configuration, answer requests, and generate URLs:
Other features include middleware and events to run code around actions, custom decoders to turn values into objects, and route providers that make route lookup fast.
Installation
Documentation
New to the package? Follow docs/.
- Routes: Defining routes · URL generation
- Handling requests: Using the Router · Responding to a request · Middleware and events
- Controllers: Stateless controllers · Action controllers
- Reference: Exceptions
Continuous Integration
The project is continuously tested by GitHub Actions.
Code of Conduct
This project adheres to a Contributor Code of Conduct. By participating in this project and its community, you're expected to uphold this code.
Contributing
See CONTRIBUTING for details.