PHPackages                             chubbyphp/chubbyphp-framework-router-fastroute - 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. chubbyphp/chubbyphp-framework-router-fastroute

ActiveLibrary[Framework](/categories/framework)

chubbyphp/chubbyphp-framework-router-fastroute
==============================================

Fastroute router implementation for chubbyphp-framework.

2.3.3(4mo ago)123.4k—3.3%1MITPHPPHP ^8.3CI passing

Since Jun 26Pushed 3mo ago1 watchersCompare

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

READMEChangelogDependencies (17)Versions (20)Used By (0)

chubbyphp-framework-router-fastroute
====================================

[](#chubbyphp-framework-router-fastroute)

[![CI](https://github.com/chubbyphp/chubbyphp-framework-router-fastroute/actions/workflows/ci.yml/badge.svg)](https://github.com/chubbyphp/chubbyphp-framework-router-fastroute/actions/workflows/ci.yml)[![Coverage Status](https://camo.githubusercontent.com/d4170cbebead3d1171a55a63b68f86ced4996172df742ffa662cb9eb5da38a84/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6368756262797068702f6368756262797068702d6672616d65776f726b2d726f757465722d66617374726f7574652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/chubbyphp/chubbyphp-framework-router-fastroute?branch=master)[![Mutation testing badge](https://camo.githubusercontent.com/3ef72f8816682ae999e0ad584d56f7ad5e58c3529dd71de60dd0dd3ab69503cc/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532466368756262797068702532466368756262797068702d6672616d65776f726b2d726f757465722d66617374726f7574652532466d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/chubbyphp/chubbyphp-framework-router-fastroute/master)[![Latest Stable Version](https://camo.githubusercontent.com/fd407aaae8531fc815fc58e6f0a60f0f9c7d3b1d4e2c589dd8d8992865d90482/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6672616d65776f726b2d726f757465722d66617374726f7574652f76)](https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-fastroute)[![Total Downloads](https://camo.githubusercontent.com/d26b8d14329bf196e16867023892430ac7d5865ccf13a27346f2e8a6813ac00a/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6672616d65776f726b2d726f757465722d66617374726f7574652f646f776e6c6f616473)](https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-fastroute)[![Monthly Downloads](https://camo.githubusercontent.com/bf30d17925da2dff8786bfcb4f263c4717570d0422a3b0a5d67984143ef141a4/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6672616d65776f726b2d726f757465722d66617374726f7574652f642f6d6f6e74686c79)](https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-fastroute)

[![bugs](https://camo.githubusercontent.com/dee777953c75c3bdb45bf8f6a954e836db26c5acbc97539ec36c5ffd68810c12/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d66617374726f757465266d65747269633d62756773)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)[![code_smells](https://camo.githubusercontent.com/702049310c13fb722235a992cc460b0ec90e6b8e1143184ee205c66175974ae2/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d66617374726f757465266d65747269633d636f64655f736d656c6c73)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)[![coverage](https://camo.githubusercontent.com/562cd006076fd2c8e5ae683bae0e57eb7a0f066645fa32e7b73be6825c7a4580/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d66617374726f757465266d65747269633d636f766572616765)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)[![duplicated_lines_density](https://camo.githubusercontent.com/e4b5ed673d8e72db939abf8bdd75f2ac871f0a4db358c89509b8bcb8af0962f5/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d66617374726f757465266d65747269633d6475706c6963617465645f6c696e65735f64656e73697479)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)[![ncloc](https://camo.githubusercontent.com/46fb6906d3cf20cfa7cbc78e2e750371ea351c0d284f3340d93a5696b13ecb40/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d66617374726f757465266d65747269633d6e636c6f63)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)[![sqale_rating](https://camo.githubusercontent.com/f068c8829ec1c07112cc07c368c5ebb92c75958341f9c23156c69cab6d3ee207/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d66617374726f757465266d65747269633d7371616c655f726174696e67)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)[![alert_status](https://camo.githubusercontent.com/be6592a565f8f6a82a4997d9ed321d81865a511cd0807016402013767ce5e3e6/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d66617374726f757465266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)[![reliability_rating](https://camo.githubusercontent.com/daf9c2f2b3d474cfc508625fac7ba69516297a48266d7cc4fc9b7cca44269882/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d66617374726f757465266d65747269633d72656c696162696c6974795f726174696e67)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)[![security_rating](https://camo.githubusercontent.com/74f0fcfdacac21052949d0aed359037b2918ed5563871c44462256b6a366c504/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d66617374726f757465266d65747269633d73656375726974795f726174696e67)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)[![sqale_index](https://camo.githubusercontent.com/406a3aa09a2969bea7ece227e739a0d54b83504c808549b53ca7b3fd9da9065d/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d66617374726f757465266d65747269633d7371616c655f696e646578)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)[![vulnerabilities](https://camo.githubusercontent.com/17fdbeb725e14bfaa889674b6ae004e833ffc8256e6093ff6c9980f303022ec2/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d66617374726f757465266d65747269633d76756c6e65726162696c6974696573)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)

Description
-----------

[](#description)

Fastroute Router implementation for [chubbyphp-framework](https://packagist.org/packages/chubbyphp/chubbyphp-framework).

Requirements
------------

[](#requirements)

- php: ^8.3
- [chubbyphp/chubbyphp-framework](https://packagist.org/packages/chubbyphp/chubbyphp-framework): ^6.0.2
- [chubbyphp/chubbyphp-http-exception](https://packagist.org/packages/chubbyphp/chubbyphp-http-exception): ^1.3.2
- [nikic/fast-route](https://packagist.org/packages/nikic/fast-route): ^1.3|2.0.0-beta1|^2.0
- [psr/http-message](https://packagist.org/packages/psr/http-message): ^1.1|^2.0

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

[](#installation)

Through [Composer](http://getcomposer.org) as [chubbyphp/chubbyphp-framework-router-fastroute](https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-fastroute).

```
composer require chubbyphp/chubbyphp-framework-router-fastroute "^2.3.3"
```

Usage
-----

[](#usage)

```
