spiral / roadrunner-cli
RoadRunner: Command Line Interface
v2.6.0
2023-12-05 20:46 UTC
Requires
- php: >=7.4
- ext-json: *
- composer/semver: ^3.2
- spiral/roadrunner-worker: >=2.0.2
- spiral/tokenizer: ^2.13 || ^3.0
- symfony/console: ^5.3 || ^6.0 || ^7.0
- symfony/http-client: ^4.4.11 || ^5.0 || ^6.0 || ^7.0
- symfony/polyfill-php80: ^1.22
- symfony/yaml: ^5.4 || ^6.0 || ^7.0
Requires (Dev)
- jetbrains/phpstorm-attributes: ^1.0
- vimeo/psalm: ^5.17
README
RoadRunner is an open-source (MIT licensed) high-performance PHP application server, load balancer, and process manager. It supports running as a service with the ability to extend its functionality on a per-project basis.
RoadRunner includes PSR-7/PSR-17 compatible HTTP and HTTP/2 server and can be used to replace classic Nginx+FPM setup with much greater performance and flexibility.
Official Website | Documentation
RoadRunner CLI
This repository contains commands to help you work with the RoadRunner, such as:
get-binary
(orget
) - allows to install the latest version of the RoadRunner compatible with your environment (operating system, processor architecture, runtime, etc...). Also, this command creates an example.rr.yaml
configuration file. If don't use the command without additional optionsplugin
andpreset
, an example with a complete configuration file will be created. Using theplugin
option (shortcutp
) can create an example configuration file with only plugins needed. For example, with http plugin only:get-binary -p http
, http and jobs:get-binary -p http -p jobs
. Available plugins:amqp
,beanstalk
,boltdb
,broadcast
,endure
,fileserver
,grpc
,http
,jobs
,kv
,logs
,metrics
,nats
,redis
,reload
,rpc
,server
,service
,sqs
,status
,tcp
,temporal
,websockets
. Using thepreset
option can create an example configuration file with popular plugins for different typical tasks. For example, with web preset:get-binary --preset web
. Available presets:web
(contains pluginshttp
,jobs
).download-protoc-binary
- allows to install the latest version of theprotoc-gen-php-grpc
file compatible with your environment (operating system, processor architecture, runtime, etc...).versions
- displays a list of available RoadRunner binary versions.
Testing:
This codebase is automatically tested via host repository - roadrunner-server/roadrunner.
License:
The MIT License (MIT). Please see LICENSE
for more information.
Maintained by Spiral Scout.