broadcast Flashcards
1
Q
first step
A
First go to Config/broadcasting.php
Then Go to .env file & change
BROADCAST_DRIVER=pusher
Next install pusher
composer require pusher/pusher-php-server
After that
Go pusher.com create acc
create app
get key app_id & key,secret and cluster from app key
return to .env file PUSHER_APP_ID=1307784 PUSHER_APP_KEY=92c8e8aae2d2bf85e67b PUSHER_APP_SECRET=b76cb665925278e8b715 PUSHER_APP_CLUSTER=us3
2
Q
Second step
A