clone the project from github or download .zip https://github.com/OlegMarko/laravel-echo-server-test.git
run command composer install
we have to install the laravel-echo-server package globally npm install -g laravel-echo-server
run command npm i
make .env
file like to .env.example
run command php artisan key:generate
set to .env file BROADCAST_DRIVER=redis and QUEUE_DRIVER=redis
run command laravel-echo-server start
run command php artisan serve
run command php artisan queue:listen --tries=1
- laravel 5.6
- npm
- composer
- redis
- sqlite