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-serverinstall php packages
$ composer installinstall javascript packages
$ npm installcreate database then update .env file don't forget to change these params (or rename .env.example -> .env )
BROADCAST_DRIVER=redis
QUEUE_DRIVER=redisi think we are done here . let's start laravel-echo-serve
$ laravel-echo-server startstart server
$ php artisan servei hope you like it