PHPackages                             fas/routing - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. fas/routing

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

fas/routing
===========

Fast and simple router

0.7.2(4y ago)01171MITPHPPHP &gt;=7.4.0

Since May 24Pushed 4y ago1 watchersCompare

[ Source](https://github.com/gielfeldt/fas-routing)[ Packagist](https://packagist.org/packages/fas/routing)[ Docs](https://github.com/gielfeldt/fas-routing)[ RSS](/packages/fas-routing/feed)WikiDiscussions main Synced 5d ago

READMEChangelogDependencies (12)Versions (23)Used By (1)

[![Build Status](https://github.com/gielfeldt/fas-routing/actions/workflows/test.yml/badge.svg)](https://github.com/gielfeldt/fas-routing/actions/workflows/test.yml)[![Test Coverage](https://camo.githubusercontent.com/b271813be58da5245a288284091a196e8c30dbdd9bd03ee05460eaee09073100/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f75726c3d68747470733a2f2f676973742e67697468756275736572636f6e74656e742e636f6d2f6769656c66656c64742f30663064393764656638653937306366623435356535323863373033633530362f7261772f6661732d726f7574696e675f5f6d61696e2e6a736f6e)](https://camo.githubusercontent.com/b271813be58da5245a288284091a196e8c30dbdd9bd03ee05460eaee09073100/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f75726c3d68747470733a2f2f676973742e67697468756275736572636f6e74656e742e636f6d2f6769656c66656c64742f30663064393764656638653937306366623435356535323863373033633530362f7261772f6661732d726f7574696e675f5f6d61696e2e6a736f6e)

[![Latest Stable Version](https://camo.githubusercontent.com/26c94b2e89017433da48a99c303986ade9e839c95bb7fe055a4c1d3f5adfa3ab/68747470733a2f2f706f7365722e707567782e6f72672f6661732f726f7574696e672f762f737461626c652e737667)](https://packagist.org/packages/fas/routing)[![Latest Unstable Version](https://camo.githubusercontent.com/b3b65ffc3592b25137a9b37720c00f684b960faa23c7d13aa095ab46fcfa1761/68747470733a2f2f706f7365722e707567782e6f72672f6661732f726f7574696e672f762f756e737461626c652e737667)](https://packagist.org/packages/fas/routing#dev-main)[![License](https://camo.githubusercontent.com/e09641c3672a842bfb1ad1fdfb0489ad857233b3e526a77e3647a183b084d2bf/68747470733a2f2f706f7365722e707567782e6f72672f6661732f726f7574696e672f6c6963656e73652e737667)](https://github.com/gielfeldt/fas-routing/blob/main/LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/c031983b2d174d234ef35d24d3484ac9ee795c6ffc0722f36129742068ebf46d/68747470733a2f2f706f7365722e707567782e6f72672f6661732f726f7574696e672f646f776e6c6f6164732e737667)](https://camo.githubusercontent.com/c031983b2d174d234ef35d24d3484ac9ee795c6ffc0722f36129742068ebf46d/68747470733a2f2f706f7365722e707567782e6f72672f6661732f726f7574696e672f646f776e6c6f6164732e737667)

Installation
============

[](#installation)

```
composer require fas/routing
```

Usage
=====

[](#usage)

An api on top of fastroute. With autowiring capabilities using a container or not.

Without container setup
-----------------------

[](#without-container-setup)

```
