QeeZer / lumen-roadrunner by qeezer

Lumen framework run by roadrunner.
12
4
1
Package Data
Maintainer Username: qeezer
Maintainer Contact: 184353381@qq.com (qeezer)
Package Create Date: 2021-07-07
Package Last Update: 2022-05-11
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2025-02-17 03:16:57
Package Statistics
Total Downloads: 12
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 4
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

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.