soso/broadcast

There is no license information available for the latest version (dev-master) of this package.

service side broadcast

Installs: 129

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:JavaScript

dev-master 2016-08-05 09:09 UTC

This package is not auto-updated.

Last update: 2024-12-30 16:58:27 UTC


README

server side broadcast

composer require "soso/broadcast":"@dev"

composer require predis/predis
php artisan vendor:publish --provider="soso\broadcast\MyBroadCastServiceProvider" --force

.env
...
QUEUE_DRIVER=redis
BROADCAST_DRIVER=redis
...

php artisan migrate
php artisan make:auth

"C:\PROGRA1\nodejs\npm" install
"C:\PROGRA
1\nodejs\npm" install gulp
npm install express socket.io ioredis --save
npm install socket.io-client --save

Check:
GULP Compiler
Laravel Application(Nginx or php artisan serve)
Redis server
隊列監聽器(php artisan queue:listen)
socket.io server(node socket.js)