egofoxlab / laravel-chat
0.0.4
2019-05-22 21:07 UTC
Requires
- php: >=7
- cboden/ratchet: ^0.4.1
- laravel/framework: ^5.5
Requires (Dev)
- php: >=7
- laravel/framework: ^5.5
This package is auto-updated.
Last update: 2024-04-23 08:48:56 UTC
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-chat
in root folder. - Run migration
php artisan migrate
for create chat tables. - Create your chat command
php artisan make:command MyChat
it'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