larasocket-chat
Introduction
Real-time chat application using Laravel 8.0, Vue and Larasocket
Installation
git clone https://github.com/SimoneC03/larasocket-chat
cd larasocket-chat
composer install
cp .env.example .env
php artisan key:generate
- Update your
.env
file with yourLARASOCKET_TOKEN
. You can get one for free at Larasocket npm install
npm run dev
php artisan migrate
php artisan serve
.ENV file
Copy .env.example and rename it to .env
Configure .env file
Configure with your personal data and add Larasocket variables as below:
BROADCAST_DRIVER=larasocket
LARASOCKET_TOKEN=paste your token here
MIX_LARASOCKET_TOKEN="${LARASOCKET_TOKEN}"
About Larasocket
Larasocket is a hosted, no configuration package for handling your broadcast connections in your Laravel application.