PHPackages                             guahanweb/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. [Framework](/categories/framework)
4. /
5. guahanweb/php-router

ActiveLibrary[Framework](/categories/framework)

guahanweb/php-router
====================

A lightweight router for PHP projects

v1.2(9y ago)51382MITPHPPHP &gt;=5.2.7

Since Oct 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/guahanweb/php-router)[ Packagist](https://packagist.org/packages/guahanweb/php-router)[ RSS](/packages/guahanweb-php-router/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

PHP Router
==========

[](#php-router)

PHP Router is a lightweight library to help with managing HTTP requests, responses and routing in order to build robust applications quickly. This library uses patterns most commonly found in popular Node.js libraries like Express and Hapi.

In order to glean the most benefit from implementing this pattern of routing, you may wish to make some adjustments to your Apache or Nginx configuration.

Installation
------------

[](#installation)

Install with [Composer](https://getcomposer.org):

```
$ composer require guahanweb/php-router

```

Usage
-----

[](#usage)

Once you have installed and configured your project to use Composer's autoload, you can begin routing.

```
