PHPackages                             nezamy/route - 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. [API Development](/categories/api)
4. /
5. nezamy/route

ActiveLibrary[API Development](/categories/api)

nezamy/route
============

Route - Fast, flexible routing for PHP, enabling you to quickly and easily build RESTful web applications.

1.3.0(5y ago)21436.6k↓11.7%44[2 issues](https://github.com/nezamy/route/issues)5MITPHPPHP &gt;=5.4.0

Since Jan 15Pushed 5y ago22 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (14)Used By (5)

Route v2.0
==========

[](#route-v20)

Route - Fast, flexible routing for PHP, enabling you to quickly and easily build RESTful web applications.

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

[](#installation)

```
$ composer require nezamy/route
```

Or if you looking for ready template for using this route Go to

Route requires PHP 7.4.0 or newer.

Changes list
------------

[](#changes-list)

- Rewrite route based on php 7.4
- Support Swoole extensions
- Support locales to build multi languages website
- Added Auth, Basic, Digest
- Availability to customize route parser and handler
- Smart dependency injection and service container

Usage
-----

[](#usage)

Only if using composer create index.php in root.

Create an index.php file with the following contents:

```
