Nowadays Realtime something required in your application. so i decided to create a small chat application using laravel vuejs and laravel-echo-server .
To begin, we have to install the laravel-echo-server package globally, you can do so by executing this in your terminal.
$ npm install -g laravel-echo-server
install php packages
$ composer install
install javascript packages
$ npm install
create database then update .env file don't forget to change these params (or rename .env.example -> .env )
BROADCAST_DRIVER=redis
QUEUE_DRIVER=redis
i think we are done here . let's start laravel-echo-serve
$ laravel-echo-server start
start server
$ php artisan serve
i hope you like it