mnvx / laravel-reactphp by mnvx
forked from Saoneth/laravel-reactphp

ReactPHP Server for Laravel framework and Lumen framework
1,439
6
3
Package Data
Maintainer Username: mnvx
Maintainer Contact: szelpalsoma@gmail.com (Soma Szélpál)
Package Create Date: 2017-08-22
Package Last Update: 2017-10-04
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-23 03:03:20
Package Statistics
Total Downloads: 1,439
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 6
Total Watchers: 3
Total Forks: 6
Total Open Issues: 0

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.