Skip to content

Real time group & private chat using Laravel brodcasting, Laravel Echo, Socket.io and Redis

Notifications You must be signed in to change notification settings

parth-vora-7/Laravel-Realtime-Chat

Repository files navigation

Prerequisite

Make sure you have redis installed on your machine and redis service is on.

How to run?

  1. Install composer dependencies by running composer install

  2. Install Laravel echo server globally by running npm install -g laravel-echo-server

  3. Change database credentials into .env file according to your environment and run php artisan migrate

  4. Set BROADCAST_DRIVER and QUEUE_DRIVER to redis into .env file

  5. Change authHost into laravel-echo-server.json file according to your site URL

  6. Run laravel-echo-server start (keep running in background)

Live demo

http://52.66.22.29/lara_chat/public

About

Real time group & private chat using Laravel brodcasting, Laravel Echo, Socket.io and Redis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages