Skip to content

A Laravel package for using ReactPHP to serve your application

License

Notifications You must be signed in to change notification settings

ce-brex/larareactphp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaraReactPHP

About

LaraReactPHP is a Laravel package for using ReactPHP to serve your application.

Requirements

  • PHP >= 7.0
  • Laravel >= 5.5

Installation

composer require tyea/larareactphp

Usage

php artisan serve:reactphp

You can optionally pass host and port arguments.

php artisan serve:reactphp 0.0.0.0 80

Development

LaraReactPHP ships with a Bash script for automatically rerunning the php artisan serve:reactphp command upon changes to your application.

bash vendor/bin/larareactphp

You must have inotify-tools installed in order to use it. It also accepts host and port arguments.

Notes

  • Terminable middleware is not supported
  • File downloads are not supported
  • File responses are not supported

History

This repo is forked from:

Author

Written by Tom Yeadon in March 2020.

About

A Laravel package for using ReactPHP to serve your application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 94.0%
  • Shell 6.0%