https://github.com/chubbyphp/chubbyphp-framework-router-fastroute
Fastroute Router implementation for chubbyphp-framework.
https://github.com/chubbyphp/chubbyphp-framework-router-fastroute
chubbyphp-framework psr-15 psr-7 routing
Last synced: 12 days ago
JSON representation
Fastroute Router implementation for chubbyphp-framework.
- Host: GitHub
- URL: https://github.com/chubbyphp/chubbyphp-framework-router-fastroute
- Owner: chubbyphp
- License: mit
- Created: 2020-06-22T18:10:58.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-12T14:09:32.000Z (about 1 month ago)
- Last Synced: 2025-03-27T18:55:25.456Z (30 days ago)
- Topics: chubbyphp-framework, psr-15, psr-7, routing
- Language: PHP
- Homepage:
- Size: 82 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chubbyphp-framework-router-fastroute
[](https://github.com/chubbyphp/chubbyphp-framework-router-fastroute/actions/workflows/ci.yml)
[](https://coveralls.io/github/chubbyphp/chubbyphp-framework-router-fastroute?branch=master)
[](https://dashboard.stryker-mutator.io/reports/github.com/chubbyphp/chubbyphp-framework-router-fastroute/master)
[](https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-fastroute)
[](https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-fastroute)
[](https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-fastroute)[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-fastroute)## Description
Fastroute Router implementation for [chubbyphp-framework][1].
## Requirements
* php: ^8.2
* [chubbyphp/chubbyphp-framework][1]: ^5.2
* [chubbyphp/chubbyphp-http-exception][2]: ^1.2
* [nikic/fast-route][3]: ^1.3|2.0.0-beta1|^2.0
* [psr/http-message][4]: ^1.1|^2.0## Installation
Through [Composer](http://getcomposer.org) as [chubbyphp/chubbyphp-framework-router-fastroute][10].
```bash
composer require chubbyphp/chubbyphp-framework-router-fastroute "^2.2"
```## Usage
```php
createResponse();
$response->getBody()->write(sprintf('Hello, %s', $request->getAttribute('name')));return $response;
}
))
]))),
]);$app->emit($app->handle((new ServerRequestFactory())->createFromGlobals()));
```## Copyright
2025 Dominik Zogg
[1]: https://packagist.org/packages/chubbyphp/chubbyphp-framework
[2]: https://packagist.org/packages/chubbyphp/chubbyphp-http-exception
[3]: https://packagist.org/packages/nikic/fast-route
[4]: https://packagist.org/packages/psr/http-message
[10]: https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-fastroute