marko / roadrunner
RoadRunner application server driver for Marko Framework
0.16.0
2026-11-30 21:39 UTC
Requires
- php: ^8.5.13
- marko/config: 0.16.0
- marko/core: 0.16.0
- marko/routing: 0.16.0
- nyholm/psr7: ^1.8
- psr/log: ^3.0
- spiral/roadrunner-http: ^4.1
Requires (Dev)
- marko/sse: 0.16.0
- marko/testing: 0.16.0
- pestphp/pest: ^5.3
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
RoadRunner application server driver for Marko --- serves your application from one long-running PHP worker process instead of spawning a new process per request.
Installation
composer require marko/roadrunner composer require spiral/roadrunner-cli --dev ./vendor/bin/rr get-binary
Quick Example
marko rr:serve
The first run generates a .rr.yaml pointing at vendor/marko/roadrunner/worker.php, then starts the server.
The generated config caps request bodies at 16 MB (roadrunner.max_request_size, env ROADRUNNER_MAX_REQUEST_SIZE); larger bodies get a 413. An existing .rr.yaml is not rewritten, so add max_request_size: 16 under http: yourself.
Documentation
Full usage, the reset lifecycle, unsupported packages, and API reference: marko/roadrunner