qeezer/lumen-roadrunner

Lumen framework run by roadrunner.
52 4
Install
composer require qeezer/lumen-roadrunner
Latest Version:v1.0.0
PHP:>=7.2.0
License:MIT
Last Updated:May 11, 2022
Links: GitHub  ·  Packagist
Maintainer: qeezer

lumen-roadrunner


Easy way for connecting RoadRunner and Lumen^6.x applications.

usage


  1. Require package

composer require qeezer/lumen-roadrunner

  1. Add provider to bootstrap/app.php
/*
|--------------------------------------------------------------------------
| Register Service Providers
|--------------------------------------------------------------------------
|
| Here we will register all of the application's service providers which
| are used to bind services into the container. Service providers are
| totally optional, so you are not required to uncomment this line.
|
*/

// add provider
$app->register(\QeeZer\LumenRoadRunner\Providers\LumenServiceProvider::class);
// $app->register(App\Providers\AppServiceProvider::class);
// $app->register(App\Providers\AuthServiceProvider::class);
// $app->register(App\Providers\EventServiceProvider::class);
  1. Copy the rr config file to base directory.

The config file docs.

cp ./vendor/qeezer/lumen-roadrunner/config/.rr.yaml ./

  1. Download rr binary file.

./vendor/bin/rr get

  1. Run it.

./rr serve

The Laravel's roadrunner


https://github.com/spiral/roadrunner-laravel

Warning


Please see https://github.com/spiral/roadrunner-laravel/blob/master/README.md to learn.