百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
F

filachat

> 编程语言
开源

Filachat 是一个插件,可将实时客户支持聊天集成到您的应用程序中。它为客户和代理的聊天界面提供了各种工具,具有以下功能:

184 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

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 and user. When role restrictions are enabled, agents cannot chat with each other, and users cannot chat with each other. Only agents and users can chat with each other, and vice versa. If role restrictions are disabled, agents and users 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:

bash
composer require jaocero/filachat

Run the following command to install FilaChat, which will take care of all migrations and configurations.

bash
php artisan filachat:install

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.

bash
php artisan filament:assets

[!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:

bash
php artisan filachat:agent-create

Next, you need to apply the HasFilaChat trait to your models, whether it’s the agent model or the user model.

php
 **Custom Theme Installation**
> [Filament Docs](https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme)

Then add the plugin's views to your `tailwind.config.js` file.

```js
content: [
    ...
    './vendor/jaocero/filachat/resources/views/**/**/*.blade.php',
    ...
]

Usage

You can now use this plugin and add it to your FilamentPHP panel provider.

php
plugins([
                FilaChatPlugin::make()
            ]);
    }

    //...
}

…

bash
php artisan reverb:start

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.

php
 [
        'rules' => 'max:20000',       // Example: ['file', 'mimes:png,jpg']  | Default: ['required', 'file', 'max:12288'] (12MB)
    ],
    //...
];

You also need to adjust the post_max_size and upload_max_filesize settings in your php.ini file.

ini
post_max_size = 20MB
upload_max_filesize = 20MB

Testing

bash
composer test

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.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHP

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言