Static chat app developed to study Laravel Websockets + Broadcasting + Pusher.
- Laravel 8.83.29
- PHP 7.4.33
- Pusher (pusher-php-server v3.3.1 & pusher-js 8.4.0-rc2)
- Laravel Echo (laravel-echo 1.17.1)
composer update
composer install
npm install
npm run dev
php artisan optimize
In separated terminals:
php artisan websockets:serve
php artisan serve
Open several unknown windows and launch the URL http://localhost:8000 to write from each of them (using a different user name in each one) and test the app.