Download the PHP package mobypolo/roadrunner-lumen without Composer
On this page you can find all versions of the php package mobypolo/roadrunner-lumen. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mobypolo/roadrunner-lumen
More information about mobypolo/roadrunner-lumen
Files in mobypolo/roadrunner-lumen
Package roadrunner-lumen
Short Description RoadRunner <-> Lumen Integration Bridge
License MIT
Informations about the package roadrunner-lumen
RoadRunner ⇆ Lumen bridge
Easy way for connecting RoadRunner and Lumen applications.
🐋 If you want to see an example of a laravel application in a docker container with RoadRunner as a web server - take a look at this repository.
Installation
Make sure that RR binary file already installed on your system (or docker image). Require this package with composer using next command:
Installed
composer
is required (how to install composer).
Usage
After package installation place .rr.yaml
config in your work directory,
simple .rr.yaml
config example (full example can be found here):
Roadrunner server starting:
Known issues
Controller constructors
You should avoid to use HTTP controller constructors (created or resolved instances in a constructor can be shared between different requests). Use dependencies resolving in a controller methods instead.
Bad:
Good:
Support
If you find any package errors, please, make an issue in a current repository.
License
MIT License (MIT). Please see Spiral Scout.
All versions of roadrunner-lumen with dependencies
spiral/roadrunner Version ^2.0.0
spiral/goridge Version ^3.0
symfony/psr-http-message-bridge Version ^1.2 || ^2.0
nyholm/psr7 Version ^1.1