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

Abandoned → [chubbyphp/chubbyphp-framework-router-fastroute](/?search=chubbyphp%2Fchubbyphp-framework-router-fastroute)ArchivedLibrary[Framework](/categories/framework)

chubbyphp/chubbyphp-framework-router-sunrise
============================================

sunrise router implementation for chubbyphp-framework.

2.0.0(3y ago)031MITPHPPHP ^8.0

Since Jun 26Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (19)Versions (11)Used By (0)

chubbyphp-framework-router-sunrise
==================================

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

[![CI](https://github.com/chubbyphp/chubbyphp-framework-router-sunrise/workflows/CI/badge.svg?branch=master)](https://github.com/chubbyphp/chubbyphp-framework-router-sunrise/actions?query=workflow%3ACI)[![Coverage Status](https://camo.githubusercontent.com/6f75c75356f1f8a71a3e58a356e0a69508a50455f4ce268b3ac465e3ff84a3ac/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6368756262797068702f6368756262797068702d6672616d65776f726b2d726f757465722d73756e726973652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/chubbyphp/chubbyphp-framework-router-sunrise?branch=master)[![Infection MSI](https://camo.githubusercontent.com/0a10869af749ebbebfe216b744aa410334219adff38ff1a88b3cbf1c21da25fa/68747470733a2f2f62616467652e737472796b65722d6d757461746f722e696f2f6769746875622e636f6d2f6368756262797068702f6368756262797068702d6672616d65776f726b2d726f757465722d73756e726973652f6d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/chubbyphp/chubbyphp-framework-router-sunrise/master)[![Latest Stable Version](https://camo.githubusercontent.com/0ff813aa37ed4fcf4243751da0f5fcacad0781278af48028747c0166aad6e29f/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6672616d65776f726b2d726f757465722d73756e726973652f762f737461626c652e706e67)](https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-sunrise)[![Total Downloads](https://camo.githubusercontent.com/3c90156ecdee52141539d3636aca53581472c78714cc57e04f0a4c0f1f16086c/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6672616d65776f726b2d726f757465722d73756e726973652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-sunrise)[![Monthly Downloads](https://camo.githubusercontent.com/5c53c9ba7e2a7f62a4346b3f4dc2f150d09c34b3311ff8aa6fea52a4dab07a8c/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6672616d65776f726b2d726f757465722d73756e726973652f642f6d6f6e74686c79)](https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-sunrise)

[![bugs](https://camo.githubusercontent.com/a47a917a69a4f6ad1d7099404f92637c4c5260a670edbb2b6cf149654e89a1b8/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d73756e72697365266d65747269633d62756773)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-sunrise)[![code_smells](https://camo.githubusercontent.com/37b2bd417ddb9cefa969e86ffa76c005af54174e7b55519a9a131884cfea13b1/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d73756e72697365266d65747269633d636f64655f736d656c6c73)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-sunrise)[![coverage](https://camo.githubusercontent.com/9d56efa30473d550bce74be5359ad22ef1ca9e1f624b47a1ad598f6b063d787a/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d73756e72697365266d65747269633d636f766572616765)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-sunrise)[![duplicated_lines_density](https://camo.githubusercontent.com/337d5e6449bd76c06ad61fdc106301cd4e362e4e7337807050d64ab53156bece/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d73756e72697365266d65747269633d6475706c6963617465645f6c696e65735f64656e73697479)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-sunrise)[![ncloc](https://camo.githubusercontent.com/75b3018bda2a87b69c88de74af67c1c13fa9608c8fb45eb640611aa7efca72f0/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d73756e72697365266d65747269633d6e636c6f63)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-sunrise)[![sqale_rating](https://camo.githubusercontent.com/b61010e9ec0008bafe7c7a01ab882b6ce34427d30a3f448936cbae35deb06f22/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d73756e72697365266d65747269633d7371616c655f726174696e67)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-sunrise)[![alert_status](https://camo.githubusercontent.com/59f346c0d3da902d237801cbf914bf21d8f201d60d2486ccf10b63bd60488e0d/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d73756e72697365266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-sunrise)[![reliability_rating](https://camo.githubusercontent.com/8003cbc8d1882014091ed953aafaf28071c475d58eb342499f7834bf596ac413/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d73756e72697365266d65747269633d72656c696162696c6974795f726174696e67)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-sunrise)[![security_rating](https://camo.githubusercontent.com/7f7a88258b01f8c603b6faac868068899ded9c8cc4306d1c81f811b2075c33be/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d73756e72697365266d65747269633d73656375726974795f726174696e67)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-sunrise)[![sqale_index](https://camo.githubusercontent.com/b9046241b95d069b19bfeb11ed72aab8777bc0727c8bac3b7c44f754d515b81b/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d73756e72697365266d65747269633d7371616c655f696e646578)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-sunrise)[![vulnerabilities](https://camo.githubusercontent.com/5a21f86a3697a808bea803f206f56393cd44fe2d0b3518edf7c1c4dde56ee25f/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d73756e72697365266d65747269633d76756c6e65726162696c6974696573)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-sunrise)

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

[](#description)

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

DEPRECATED: I suggest to use [chubbyphp-framework-router-fastroute](https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-fastroute).

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

[](#requirements)

- php: ^8.0
- [chubbyphp/chubbyphp-framework](https://packagist.org/packages/chubbyphp/chubbyphp-framework): ^5.0.3
- [chubbyphp/chubbyphp-http-exception](https://packagist.org/packages/chubbyphp/chubbyphp-http-exception): ^1.0.1
- [psr/http-message](https://packagist.org/packages/psr/http-message): ^1.0.1
- [sunrise/http-router](https://packagist.org/packages/sunrise/http-router): ^2.6

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

[](#installation)

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

```
composer require chubbyphp/chubbyphp-framework-router-sunrise "^2.0"
```

Usage
-----

[](#usage)

```
