Skip to content

semihkeskindev/laravel-online-chat

Repository files navigation

Laravel Online Chat With Socket.io

Version Prerequisite Prerequisite Documentation Maintenance Twitter: 0x8b612

chat with other people real time

image

Installation

cp .env.example .env

Set up Database Configuration on .env

DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=database_name
DB_USERNAME=username
DB_PASSWORD=password

Then run this commands:

composer install
php artisan key:generate
php artisan migrate
npm install -g laravel-echo-server
npm install
npm run prod

Usage

Run the command:

laravel-echo-server configure

Then enter as in the screenshot below:

image

Run the command (AND KEEP COMMAND RUNNING!!!):

laravel-echo-server start

image

Enjoy the online chat! ^^


About

Laravel Online Chat Websocket With Socket.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published