PHPackages                             grafgriffon/php-router - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. grafgriffon/php-router

ActiveLibrary[HTTP &amp; Networking](/categories/http)

grafgriffon/php-router
======================

HTTP router

2.1(8mo ago)0300Apache-2.0PHPPHP &gt;=8.0

Since Mar 27Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/GrafGriffon/Router)[ Packagist](https://packagist.org/packages/grafgriffon/php-router)[ RSS](/packages/grafgriffon-php-router/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)DependenciesVersions (7)Used By (0)

GrafGriffon/PhpRouter
=====================

[](#grafgriffonphprouter)

Powerful, flexible web routing for your service.

Installation and Autoloading
----------------------------

[](#installation-and-autoloading)

This package is installable and PSR-4 autoloadable via Composer as \[grafgriffon/php-router\]\[\].

Alternatively, \[download a release\]\[\], or clone this repository, then map the `GrafGriffon\PhpRouter\` namespace to the package `src/` directory.

Dependencies
------------

[](#dependencies)

This package requires PHP 8.0 or later. It has been tested on PHP 8.0-8.3. We recommend using the latest available version of PHP as a matter of principle.

Example using
-------------

[](#example-using)

```
