This is an implementation of WebSockets in Laravel with Soketi. A blog about this can be found here: Unlocking Real-Time With WebSockets in Laravel with Soketi | Fajarwz.
If you are on another branch
git checkout master
First download the required dependencies:
apt install -y git python3 gcc build-essential
After that, you can install Soketi CLI globally
npm install -g @soketi/soketi
You can learn more about the installation here
soketi start
composer install
npm install
cp .env.example .env
php artisan key:generate
npm run dev
php artisan serve
git checkout chat
php artisan migrate
npm run dev
php artisan serve