https://github.com/mnvx/laravel-reactphp
Asynchronous event-driven react http server for Laravel and Lumen.
https://github.com/mnvx/laravel-reactphp
Last synced: 6 months ago
JSON representation
Asynchronous event-driven react http server for Laravel and Lumen.
- Host: GitHub
- URL: https://github.com/mnvx/laravel-reactphp
- Owner: mnvx
- Fork: true (Saoneth/laravel-reactphp)
- Created: 2017-08-22T16:36:39.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-04T12:21:24.000Z (almost 9 years ago)
- Last Synced: 2025-08-19T08:16:57.196Z (11 months ago)
- Language: PHP
- Homepage:
- Size: 23.4 KB
- Stars: 6
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
mnvx/laravel-reactphp
=========================
Integration of [ReactPHP](https://github.com/reactphp/http) Server for [Laravel 5.4](http://laravel.com) and [Lumen 5.4](http://lumen.laravel.com).
This fork works with requests contained JSON body.
Now using [reactphp/http](https://github.com/reactphp/http) 0.7.0!
## Installation
Install via composer
```sh
composer require mnvx/laravel-reactphp:dev-master
```
After installing, add provider on config/app.php on your project.
```php
// app.php
'providers' => [
// ...
'LaravelReactPHP\Providers\ReactCommandProvider',
],
```
## Run the server
```sh
php artisan react-serve --listen=tcp://127.0.0.1:8080
```
## Credits
This library based on [Saoneth/laravel-reactphp](https://github.com/Saoneth/laravel-reactphp).
- [reactphp/http](https://github.com/reactphp/http)
- [Saoneth/laravel-reactphp](https://github.com/Saoneth/laravel-reactphp)
- [zendframework/zend-diactoros](https://github.com/zendframework/zend-diactoros)
- [symfony/psr-http-message-bridge](https://github.com/symfony/psr-http-message-bridge)
- [laravel/lumen-framework](https://github.com/laravel/lumen-framework)
- [laravel/framework](https://github.com/laravel/framework)