Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

tradzero/laravel-echo-redis-socketio

Repository files navigation

laravel-echo-redis-socketio

This is a example about how to use laravel echo with redis and socket.io
It's a simple chatroom application.

Installation

clone this project and run follow

$ composer install
$ cp .env.example .env
$ php artisan key:gen
$ npm install -g laravel-echo-server # see https://github.com/tlaverdure/laravel-echo-server

modify your .env file, enter your redis config
use $ laravel-echo-server init init your laravel-echo-server environment.

Run

$ laravel-echo-server start
$ php artisan queue:work # make sure queue working.

open two tabs and go to http://yourproject/chat
enjoy.

About

It's a very simple chat demo, use laravel-echo-server and Laravel Echo

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /