PHPackages                             simonhamp/routes - 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. simonhamp/routes

AbandonedArchivedLibrary[Framework](/categories/framework)

simonhamp/routes
================

A low-level router class for PHP based on CodeIgniter's core/Router.php.

v2.0.1(8y ago)782.2k91MITPHPPHP &gt;=5.3.0

Since Nov 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/simonhamp/routes)[ Packagist](https://packagist.org/packages/simonhamp/routes)[ Docs](https://github.com/simonhamp/routes)[ RSS](/packages/simonhamp-routes/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)DependenciesVersions (3)Used By (1)

Routes
======

[](#routes)

Hi, thanks for checking out Routes! Routes is low-level PHP class for defining and using URL routing patterns similar to CodeIgniter. In fact Routes is based on [CodeIgniter's implementation](https://github.com/EllisLab/CodeIgniter/blob/develop/system/core/Router.php).

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

[](#installation)

Install via Composer from your command line:

```
$ composer require simonhamp/routes
```

Usage
-----

[](#usage)

To use Routes, you simply need to place the class somewhere accessible within your application. Then you need to define some routes and register them:

```
