monzer/filament-chatify-integration
最新稳定版本:1.0.1
Composer 安装命令:
composer require monzer/filament-chatify-integration
包简介
Seamlessly integrate real-time messaging into your application.
README 文档
README
Seamlessly integrate real-time messaging into your Filament dashboard using Chatify. This plugin provides a ready-to-use chat widget for Filament, allowing you to enhance user communication effortlessly.
⚙️ Requirements
- PHP: 8.2+
- Laravel: 10+
- Filament: 3.x
???? Installation
Run the following command to install the package via Composer:
composer require monzer/filament-chatify-integration
Install command:
php artisan filament-chatify-integration:install
Run database migration:
php artisan migrate
Publish assets:
php artisan filament:assets
Configuration
Please visit Chatify configuration section to complete the configuration.
???? Usage
To enable the plugin in your Filament panel, register it as follows:
use Monzer\FilamentChatifyIntegration\ChatifyPlugin; public function panel(Panel $panel): Panel { return $panel ->plugin(ChatifyPlugin::make()); }
Once installed, the plugin automatically provides a floating chat widget for real-time communication.
???? Custom Chat Page Example
To customize the chat page:
Step 1: Create a custom page and extend the base chat page
namespace App\Filament\Pages; use Monzer\FilamentChatifyIntegration\Pages\Chatify as BaseChat; class CustomChatifyPage extends BaseChat { protected static ?string $slug = "chat"; protected static ?string $navigationLabel = "Chat"; protected static ?string $title = "Chat"; }
Step 2: Register the custom page in the plugin
use Monzer\FilamentChatifyIntegration\ChatifyPlugin; use App\Filament\Pages\CustomChatifyPage; public function panel(Panel $panel): Panel { return $panel ->plugin(ChatifyPlugin::make()->customPage(CustomChatifyPage::class)); // Also accepts a closure }
❌ Disabling the Floating Chat Widget
To disable the floating chat widget, use the following configuration:
use Monzer\FilamentChatifyIntegration\ChatifyPlugin; use App\Filament\Pages\CustomChatifyPage; public function panel(Panel $panel): Panel { return $panel ->plugin(ChatifyPlugin::make()->disableFloatingChatWidget()); // Also accepts a closure }
????️ Further Customization
For more advanced customization options, please visit the official Chatify repository.
???? Support & Issues
If you encounter any issues or need support, feel free to open an issue on GitHub.
???? License
This package is open-source and licensed under the MIT License.
???? Attribution
This package integrates Chatify, originally developed by Munafio. Full credit goes to the original author for building Chatify, which serves as the foundation for this integration.
统计信息
- 总下载量: 3.32k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 25
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04