egofoxlab/laravel-chat
Composer 安装命令:
composer require egofoxlab/laravel-chat
包简介
README 文档
README
Laravel Chat is simple chat from box for quick start create your own chat.
Demo version how it can work
What in box?
This package provide:
- Laravel command for start chat from CLI
- Opportunity for extending base functions
- Migration with for DB for saving all your messages
- Create more than two users in chat
- Build on socket library cboden/ratchet
How it use?
- Install package
composer require egofoxlab/laravel-chatin root folder. - Run migration
php artisan migratefor create chat tables. - Create your chat command
php artisan make:command MyChatit's your first step for overwrite chat. - In new created MyChat class you can set your configurations.
- Run chat
php artisan chat_server:serve- default command name for chat. You can overwrite it.
When you create your own chat command and extend it from laravel-chat it's
start point for extending your chat with your requirements.
Where code demo?
Also I created separated repository with example where you can see chat in working with frontend. REPO
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-05-09