PHPackages                             kudathambo/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. kudathambo/php-router

ActiveLibrary[Framework](/categories/framework)

kudathambo/php-router
=====================

A lightweight router for PHP projects (FORKED)

v2.1.1(6y ago)09MITPHPPHP ^7.3

Since Oct 14Pushed 6y agoCompare

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

READMEChangelog (2)Dependencies (2)Versions (7)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://www.getcomposer.org):

```
$ composer require kudathambo/php-router

```

Usage
-----

[](#usage)

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

```
