updg/roadrunner-laravel

1.0.0 2019-01-25 04:05 UTC

This package is auto-updated.

Last update: 2024-04-14 22:59:23 UTC


README

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.