soso / broadcast
service side broadcast
Installs: 129
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- predis/predis: ^1.1
Requires (Dev)
- predis/predis: ^1.1
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 1\nodejs\npm" install gulp
"C:\PROGRA
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)