laravel-echo-server init
// 是否在开发模式下运行此服务器(y/n)?Do you want to run this server in development mode?**Yes**// 设置服务端口? Which port would you like to serve from?**6001**// 驱动? Which database would you like to useto store presence channel members?**redis**// 域名? Enter the host of your Laravel authentication server.**http://demo.test**// 网络协议? Will you be serving on http or https?**http**?Do you want to generate a client ID/Key forHTTPAPI?**No**?Do you want to setup cross domain access to the API?**No**? What do you want this config to be saved as?(laravel-echo-server.json)**回车**
服务器 - 启动laravel-echo-server服务
laravel-echo-server start
##################################################
L A R A V E L E C H O S E R V E R
version 1.6.2
⚠ Starting server in DEV mode...
✔ Running at localhost on port 6001
✔ Channels are ready.
✔ Listening for http events...
✔ Listening for redis events..