runtime/roadrunner-symfony-nyholm
Roadrunner runtime for with nyholm/psr7
Maintainers
Package info
github.com/php-runtime/roadrunner-symfony-nyholm
pkg:composer/runtime/roadrunner-symfony-nyholm
Fund package maintenance!
1.0.0
2025-12-18 07:34 UTC
Requires
- php: >=8.0.5
- nyholm/psr7: ^1.4
- spiral/roadrunner-cli: ^2.6
- spiral/roadrunner-http: ^2.0 || ^3.0
- spiral/roadrunner-worker: ^2.0 || ^3.0
- symfony/dependency-injection: ^5.4 || ^6.0 || ^7.0 || ^8.0
- symfony/http-kernel: ^5.4 || ^6.0 || ^7.0 || ^8.0
- symfony/psr-http-message-bridge: ^2.1 || ^6.4 || ^7.0 || ^8.0
- symfony/runtime: ^5.4 || ^6.0 || ^7.0 || ^8.0
Requires (Dev)
- phpunit/phpunit: ^10.5.58
- symfony/console: ^5.4 || ^6.4 || ^7.0 || ^8.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT 20bc4c15de0802318830bc1504b33a539ba38a19
- Tobias Nyholm <tobias.nyholm.woop@gmail.com>
README
A runtime for RoadRunner.
If you are new to the Symfony Runtime component, read more in the main readme.
Installation
composer require runtime/roadrunner-symfony-nyholm
Usage
Define the environment variable APP_RUNTIME for your application.
// .env
APP_RUNTIME=Runtime\RoadRunnerSymfonyNyholm\Runtime
// .rr.yaml
server:
...
env:
APP_RUNTIME: Runtime\RoadRunnerSymfonyNyholm\Runtime
// public/index.php use App\Kernel; require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; return function (array $context) { return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']); };
