An implementation of an Customer Support Chat System in Laravel.
This project will continue to grow and will be maintained. Your support is highly appreciated and will motivate the author to improve the package. If you've found this library helpful and want to support the author, please, consider any donation by clicking the button below or following the link to buymeacoffee.com.
- Customer support chatbox in every single page of your web app
- Admin panel for chatting with customers (available at: http://your-domain/chat-admin)
- Self-hosted pusher replacement by beyondcode laravel websockets
- Laravel 9 or higher
- PHP 8.1 or higher
- currently the project has only master branch for v1
Default installation is via Composer.
composer require ilmedova/chattle
The service provider will automatically get registered. Or you could add the Service Provider manually to your
config/app
file in the providers
section.
'providers' => [
//...
Ilmedova\Chattle\ChatServiceProvider::class,
]
Publish the assets for css and js files
php artisan vendor:publish --provider="Ilmedova\Chattle\ChatServiceProvider"
Configure your .env and the laravel-websockets package by beyondcode. Read the documentation in this <a href"https://beyondco.de/docs/laravel-websockets">link
Run the migrations in order to setup the required tables on the database.
php artisan migrate
Include the customer support chatbox on your layout blade file's body section
@include('chattle::chat')
- Realtime typing effect in chatboxes for users to let know that user or admin is typing
- Marking messages as read when they are read by user or admin
- Middleware and chat-admin roles control
- Multiple color themes configured in configs
Laravel Customer Support Chat - is open-sourced software licensed under the MIT license.