Looking to hire Laravel developers? Try LaraJobs

laravel-reactphp maintained by mnvx

Description
ReactPHP Server for Laravel framework and Lumen framework
Last update
2017/10/04 14:21 (dev-master)
License
Downloads
1 440

Comments
comments powered by Disqus

mnvx/laravel-reactphp

Integration of ReactPHP Server for Laravel 5.4 and Lumen 5.4.

This fork works with requests contained JSON body.

Now using reactphp/http 0.7.0!

Installation

Install via composer

composer require mnvx/laravel-reactphp:dev-master

After installing, add provider on config/app.php on your project.

// app.php

'providers' => [
    // ...
  
    'LaravelReactPHP\Providers\ReactCommandProvider',
],

Run the server

php artisan react-serve --listen=tcp://127.0.0.1:8080

Credits

This library based on Saoneth/laravel-reactphp.