The Spiral Framework uses RoadRunner as high-powered application server.
You can download the application server directly from release page.
The best way is to use composer package spiral/roadrunner-cli
. It will help you to download server
automatically:
./vendor/bin/rr get
Note
The PHP extensionsphp-cli
andphp-zip
should be enabled on your server.
RoadRunner integrates with the framework via spiral/roadrunner-bridge
package and may be installed via the Composer package manager:
composer require spiral/roadrunner-bridge
Note
Read more aboutspiral/roadrunner-bridge
package installation and configuration here.
The RoadRunner server is easy to run on the default :8080
port:
./rr serve
You can observe the memory consumption of your workers in realtime and other information via
./rr workers -i
Note
Read more about RoadRunner cli commands here
A lot of the sections in this documentation will explain how to extend your application capabilities by adding your own RoadRunner plugins, middleware, or data providers.
Note
You are not required to learn Golang or build the application server by yourself, the default build will cover all of the framework features.
All information about building Application server you can read on official site.