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

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

bellevue/router
===============

A small router library with path variable support.

017PHP

Since Feb 26Pushed 10y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

BellevueRouter [![Build Status](https://camo.githubusercontent.com/6cce3df7714595cc011b7d167ebd75c1b2b21aab73c9c08696d111232cc9180a/68747470733a2f2f7472617669732d63692e6f72672f41726368657237302f42656c6c65767565526f757465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Archer70/BellevueRouter)
===================================================================================================================================================================================================================================================================================================================

[](#bellevuerouter-)

A small router with path variable support.

Examples
--------

[](#examples)

#### Route to regular function

[](#route-to-regular-function)

**Routes**

```
$routes = [
    '/home' => [
        'function' => 'main'
    ]
];
```

**PHP**

```
