Skip to content

UPDG/roadrunner-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoadRunner <-> Laravel/Lumen Bridge

In order to Laravel and Lumen work properly with RoadRunner you have to use this library. Without it Laravel not reseting some components and can end up with bugs.

Installation

Require this library using composer

composer req updg/roadrunner-laravel

Create psr-worker.php file and add this content to it

<?php
require __DIR__ . "/vendor/autoload.php";

$bridge = new \updg\roadrunner\laravel\Bridge();
$bridge->start();

That's it! Now just run RoadRunner server.