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

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

chubbyphp/chubbyphp-framework-router-hack-routing
=================================================

Hack routing implementation for chubbyphp-framework.

25PHP

Since Dec 2Pushed 2y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

chubbyphp-framework-router-hack-routing
=======================================

[](#chubbyphp-framework-router-hack-routing)

[![CI](https://github.com/chubbyphp/chubbyphp-framework-router-hack-routing/workflows/CI/badge.svg?branch=master)](https://github.com/chubbyphp/chubbyphp-framework-router-hack-routing/actions?query=workflow%3ACI)[![Coverage Status](https://camo.githubusercontent.com/a7d3c327ca240de3b8c4961839b329c878a5deb1cf6444757c922ee842b21eb5/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6368756262797068702f6368756262797068702d6672616d65776f726b2d726f757465722d6861636b2d726f7574696e672f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/chubbyphp/chubbyphp-framework-router-hack-routing?branch=master)[![Infection MSI](https://camo.githubusercontent.com/1b30db962d38b8b8ceeff512f2dc9b4a0f98ed84c4b5c5c117944336c5a7ec28/68747470733a2f2f62616467652e737472796b65722d6d757461746f722e696f2f6769746875622e636f6d2f6368756262797068702f6368756262797068702d6672616d65776f726b2d726f757465722d6861636b2d726f7574696e672f6d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/chubbyphp/chubbyphp-framework-router-hack-routing/master)[![Latest Stable Version](https://camo.githubusercontent.com/319dc3f9192f41f0d07b0dc012c96cc4dd04a76b7fe4474bda075270d53ae563/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6672616d65776f726b2d726f757465722d6861636b2d726f7574696e672f762f737461626c652e706e67)](https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-hack-routing)[![Total Downloads](https://camo.githubusercontent.com/3dc334fdb2f30419e436fb9dfc7818ad509ed9f85ec06ab9c8a09a47f27ca8fc/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6672616d65776f726b2d726f757465722d6861636b2d726f7574696e672f646f776e6c6f6164732e706e67)](https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-hack-routing)[![Monthly Downloads](https://camo.githubusercontent.com/b27411a6b1ad31efef9676f57cddbada5bbf70808dcfed72014df46bf2d2ce7f/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6672616d65776f726b2d726f757465722d6861636b2d726f7574696e672f642f6d6f6e74686c79)](https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-hack-routing)

[![bugs](https://camo.githubusercontent.com/1f6735ab7016b24555baa89ad34ea4770c81cbccd2762b36c5ea889e54215609/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d6861636b2d726f7574696e67266d65747269633d62756773)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-hack-routing)[![code_smells](https://camo.githubusercontent.com/24f60beb4c93cfc15c76f0f4f2d094526b57ed81a13c1be2a73f1588d3fbfb15/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d6861636b2d726f7574696e67266d65747269633d636f64655f736d656c6c73)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-hack-routing)[![coverage](https://camo.githubusercontent.com/d487b6a7e50fc95065162c6329f7b6848ccd809aa3a60b9cbefcf69186fd275c/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d6861636b2d726f7574696e67266d65747269633d636f766572616765)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-hack-routing)[![duplicated_lines_density](https://camo.githubusercontent.com/71651a258f46f1caa10d372636aeee0a8af187d18a825de17c4d650a45d4c9f8/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d6861636b2d726f7574696e67266d65747269633d6475706c6963617465645f6c696e65735f64656e73697479)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-hack-routing)[![ncloc](https://camo.githubusercontent.com/db3bdccf6099639684d73aea6bbd072ae455528fc9e8f73475fcbb5a04d1f098/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d6861636b2d726f7574696e67266d65747269633d6e636c6f63)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-hack-routing)[![sqale_rating](https://camo.githubusercontent.com/c02a69ee62aa79ce7589e82941dda01e98c1324a5e59553125ed4dac99b0a077/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d6861636b2d726f7574696e67266d65747269633d7371616c655f726174696e67)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-hack-routing)[![alert_status](https://camo.githubusercontent.com/14d601ef7708ae8ced78938604de1d5a971fe39cc497bc45be7bfa22adf1700a/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d6861636b2d726f7574696e67266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-hack-routing)[![reliability_rating](https://camo.githubusercontent.com/3a621d9ed2e35cb48c47bfbe3d52e2ff01d06537ca891c0096322ab39ec62f84/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d6861636b2d726f7574696e67266d65747269633d72656c696162696c6974795f726174696e67)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-hack-routing)[![security_rating](https://camo.githubusercontent.com/cee596a051317cad81f6c19f41fe9858e7a6cffac3d81e7754ea5ecb2e894625/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d6861636b2d726f7574696e67266d65747269633d73656375726974795f726174696e67)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-hack-routing)[![sqale_index](https://camo.githubusercontent.com/5e1d790e335bbfb2fb88482d4ff1618e29ddb511423e984f5a256b1a4ecd7fa9/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d6861636b2d726f7574696e67266d65747269633d7371616c655f696e646578)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-hack-routing)[![vulnerabilities](https://camo.githubusercontent.com/52c5cdd4a9ddf9659522b91f23c3c8efaae02269ff67f423bc00da7ac4e38434/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6672616d65776f726b2d726f757465722d6861636b2d726f7574696e67266d65747269633d76756c6e65726162696c6974696573)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-hack-routing)

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

[](#description)

Hack routing 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-hack-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
- [azjezz/hack-routing](https://packagist.org/packages/azjezz/hack-routing): dev-main@dev
- [psr/http-message](https://packagist.org/packages/psr/http-message): ^1.0.1

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

[](#installation)

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

```
composer require chubbyphp/chubbyphp-framework-router-hack-routing "^1.0"
```

Usage
-----

[](#usage)

```
