minh / pusherchat
Demo pakage chat realtime
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:plugin
Requires
- pusher/pusher-php-server: ~2.6
This package is auto-updated.
Last update: 2024-11-09 12:48:49 UTC
README
package make by minhngoc. Email: minhngoc2512@yahoo.com Install and use package PUSHERCHAT:
- Run command artisan: "php artisan make:auth"
- Create a account on website Pusher
- Change content file .env on folder root:PUSHER_APP_ID,PUSHER_APP_KEY,PUSHER_APP_SECRET,BROADCAST_DRIVER=pusher in your server Pusher.
- In file config/app.php uncomment App\Providers\BroadcastServiceProvider::class,
- Add service provider " Minh\PusherChat\ChatServiceProvider::class," in file config/app.php on array "provider"
- Enter command: composer require pusher/pusher-php-server "~2.6"
- You may define a meta tag in your application's head HTML element:
- Run command artisan : "php artisan migrate"
- Include on blade template before tag "/body": " @include('ChatPusher.home');"
- Run command artisan : "php artisan serve"