Download the PHP package jaocero/filachat without Composer
On this page you can find all versions of the php package jaocero/filachat. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jaocero/filachat
More information about jaocero/filachat
Files in jaocero/filachat
Package filachat
Short Description FilaChat is a plugin for integrating real-time customer support chat into your application. Provides tools for both customer and agent chat interfaces, with features for managing and maintaining chat conversations.
License MIT
Homepage https://github.com/jaocero/filachat
Informations about the package filachat
FilaChat
Filachat is a plugin for adding real-time customer support chat to your application. It provides tools for both customer and agent chat interfaces, with features for managing and maintaining conversations. You can also disable role constraints to let users chat with each other without restrictions.
[!IMPORTANT]
This plugin has two roles:agent
anduser
. When role restrictions are enabled,agents
cannot chat with each other, andusers
cannot chat with each other. Onlyagents
andusers
can chat with each other, and vice versa. If role restrictions are disabled,agents
andusers
can freely chat with one another without any restrictions.[!CAUTION] This plugin has not been tested in a production environment. Use it at your own risk.
Installation
You can install the package via composer:
Run the following command to install FilaChat, which will take care of all migrations and configurations.
You can view the full content of the config file here: config/filachat.php
Next, execute the following command to generate assets in your public folder.
[!NOTE]
This step is optional if you want to enable role restrictions. You only need to create an agent if you want to set up role-based chat support.
When you first install this plugin, you won’t have any agents
set up yet. Agents are like admins who can provide chat support to your customers or users.
To create an agent
, use the command below:
Next, you need to apply the HasFilaChat
trait to your models, whether it’s the agent
model or the user
model.
To integrate this plugin into your FilamentPHP
application, you need to apply a custom theme.
Custom Theme Installation Filament Docs
Then add the plugin's views to your tailwind.config.js
file.
Usage
You can now use this plugin and add it to your FilamentPHP panel provider.
[!IMPORTANT]
To use this plugin, you need to have Laravel Reverb installed and enable FilamentPHP broadcasting in your application.
For the final step, you need to set up Laravel Reverb for your application. See Reverb for more details. After that, enable broadcasting for your FilamentPHP application by following this guide by Laravel Daily.
Then everytime you start your application in your local environment, you will need to run the following command to enable broadcasting:
When using file uploads, Livewire has a default file size limit of 12 MB. To change this limit, you need to publish the Livewire configuration file using the command php artisan livewire:publish --config
and then adjust the rule
.
You also need to adjust the post_max_size
and upload_max_filesize
settings in your php.ini
file.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Jay-Are Ocero
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filachat with dependencies
filament/filament Version ^3.0
laravel/prompts Version ^0.1.24
livewire/livewire Version ^3.5
spatie/laravel-package-tools Version ^1.15.0