mnvx / laravel-reactphp
ReactPHP Server for Laravel framework and Lumen framework
Installs: 1 439
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 3
Forks: 24
Open Issues: 0
Requires
- php: >=5.6.4
- guzzlehttp/guzzle: ^6.2
- react/http: ^0.7.0
- symfony/http-foundation: ~3.2
- symfony/http-kernel: ~3.2
- symfony/psr-http-message-bridge: ^1.0
- zendframework/zend-diactoros: ^1.4
Requires (Dev)
- phpunit/phpunit: ~5.7
README
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.