Skip to content

Latest commit

 

History

History
66 lines (47 loc) · 1.61 KB

README.md

File metadata and controls

66 lines (47 loc) · 1.61 KB

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! ^^