Integration layer for RoadRunner that allows to create easy integrations/bridges for RoadRunner.
At this moment supports PSR7 and raw RoadRunner requests.
Framework/Library | Link | Status |
---|---|---|
Laravel | https://github.com/UPDG/roadrunner-laravel | Stable |
Symfony | https://github.com/UPDG/roadrunner-symfony | Beta |
If you not using default relay (new \Spiral\Goridge\StreamRelay(STDIN, STDOUT)
) you can pass relay object as second
parameter of \updg\roadrunner\easy\RoadRunner()
.
In order to create integration you have to implement PSR7IntegrationInterface
or HttpIntegrationInterface
.
After it you can use it as follows:
$integration = new MyAwesomeIntegration();
$bridge = new \updg\roadrunner\easy\RoadRunner($integration);
$bridge->run();