Triangle Router
Triangle Router matches an HTTP method and path to a handler and route parameters. It can run as a standalone dispatcher or integrate with Triangle Engine through its bootstrap; these setup paths are distinct.
Version: 2.0.7 · PHP: 8.1+ · Engine: ^8.1 || ^9.0 · Package: triangle/router.
- Install and create a standalone dispatcher
- Route patterns and dispatch results
- Engine integration and operations
- Compatibility, security, and tests
The router selects a matching handler. A route match does not authorize a user or create an HTTP response. The application is responsible for access checks, method and URI normalization, 404/405 responses and the Allow header, and required HEAD semantics.

