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

ActiveLibrary[Framework](/categories/framework)

ecoal95/php-router
==================

Minimal routing library

v1.0.3(10y ago)271.0k12[1 issues](https://github.com/ecoal95/php-router/issues)1MITPHPPHP &gt;=5.3.0

Since Aug 3Pushed 10y ago7 watchersCompare

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

READMEChangelogDependencies (3)Versions (6)Used By (1)

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

[](#php-router)

[![Build Status](https://camo.githubusercontent.com/7b539e9e083ea94233dd2e409fed35d94c3fd4de42c1f3ddca8ca3e776ef80ba/68747470733a2f2f7472617669732d63692e6f72672f65636f616c39352f7068702d726f757465722e737667)](https://travis-ci.org/ecoal95/php-router)[![Latest Stable Version](https://camo.githubusercontent.com/d4ac1e27a16d9be87ff969237be02e904a8ba692d63348ff80840910e764ad9d/68747470733a2f2f706f7365722e707567782e6f72672f65636f616c39352f7068702d726f757465722f762f737461626c65)](https://packagist.org/packages/ecoal95/php-router)[![Total Downloads](https://camo.githubusercontent.com/51e5b7bf1f9986ebd9fae7ab274674acae6d68fc462dc53548c136e53af63fd6/68747470733a2f2f706f7365722e707567782e6f72672f65636f616c39352f7068702d726f757465722f646f776e6c6f616473)](https://packagist.org/packages/ecoal95/php-router)[![Latest Unstable Version](https://camo.githubusercontent.com/824bc824307eac658f5a8b1af8ac3bd5694eaba3826e542a6ee800e86be60fd7/68747470733a2f2f706f7365722e707567782e6f72672f65636f616c39352f7068702d726f757465722f762f756e737461626c65)](https://packagist.org/packages/ecoal95/php-router)[![License](https://camo.githubusercontent.com/8d718cc672bf35c484e93f65cdbd28d9296863df21bd067b37e61615f260a2d7/68747470733a2f2f706f7365722e707567782e6f72672f65636f616c39352f7068702d726f757465722f6c6963656e7365)](https://packagist.org/packages/ecoal95/php-router)

Contributors
------------

[](#contributors)

- [Emilio Cobos](https://github.com/ecoal95)
- [Bryan Velastegui](https://github.com/shinigamicorei7)
- [Soviut](https://github.com/Soviut)

Composer setup example
----------------------

[](#composer-setup-example)

```
{
    "require": {
        "ecoal95/php-router": "dev-master"
    }
}
```

Usage
-----

[](#usage)

See the `examples/` to see a basic example and *remember to use the htaccess provided there*!

### Get urls

[](#get-urls)

```
