Skip to content

OlegMarko/laravel-echo-server-test

Repository files navigation

Build Status Total Downloads Latest Stable Version License

Install Project

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

Test Routes

test-broadcast

test-private-broadcast

Requirements

  • laravel 5.6
  • npm
  • composer
  • redis
  • sqlite