https://github.com/chubbyphp/chubbyphp-framework-router-symfony
Symfony Router implementation for chubbyphp-framework.
https://github.com/chubbyphp/chubbyphp-framework-router-symfony
chubbyphp-framework psr-15 psr-7 routing
Last synced: 3 months ago
JSON representation
Symfony Router implementation for chubbyphp-framework.
- Host: GitHub
- URL: https://github.com/chubbyphp/chubbyphp-framework-router-symfony
- Owner: chubbyphp
- License: mit
- Created: 2020-06-22T18:47:49.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-12T14:09:30.000Z (4 months ago)
- Last Synced: 2025-03-27T18:55:27.921Z (3 months ago)
- Topics: chubbyphp-framework, psr-15, psr-7, routing
- Language: PHP
- Homepage:
- Size: 68.4 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chubbyphp-framework-router-symfony
[](https://github.com/chubbyphp/chubbyphp-framework-router-symfony/actions/workflows/ci.yml)
[](https://coveralls.io/github/chubbyphp/chubbyphp-framework-router-symfony?branch=master)
[](https://dashboard.stryker-mutator.io/reports/github.com/chubbyphp/chubbyphp-framework-router-symfony/master)
[](https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-symfony)
[](https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-symfony)
[](https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-symfony)[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-symfony)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-symfony)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-symfony)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-symfony)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-symfony)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-symfony)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-symfony)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-symfony)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-symfony)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-symfony)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-router-symfony)## Description
Symfony Router implementation for [chubbyphp-framework][1].
## Requirements
* php: ^8.2
* [chubbyphp/chubbyphp-framework][1]: ^5.2
* [chubbyphp/chubbyphp-http-exception][2]: ^1.2
* [psr/http-message][3]: ^1.1|^2.0
* [symfony/expression-language][4]: ^5.4.45|^6.4.13|^7.2
* [symfony/routing][5]: ^5.4.48|^6.4.18|^7.2## Installation
Through [Composer](http://getcomposer.org) as [chubbyphp/chubbyphp-framework-router-symfony][10].
```bash
composer require chubbyphp/chubbyphp-framework-router-symfony "^2.2"
```## Usage
```php
getAttribute('name');
$response = $responseFactory->createResponse();
$response->getBody()->write(sprintf('Hello, %s', $name));return $response;
}
), [], [SymfonyRouter::PATH_REQUIREMENTS => ['name' => '[a-z]+']])
])),
]);$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/psr/http-message
[4]: https://packagist.org/packages/symfony/expression-language
[5]: https://packagist.org/packages/symfony/routing
[10]: https://packagist.org/packages/chubbyphp/chubbyphp-framework-router-symfony