filahq/filament-assist
最新稳定版本:v1.0.0
Composer 安装命令:
composer require filahq/filament-assist
包简介
Filament Assit to create Action with modal form for support / feedback / bug report
README 文档
README
Filament Assit to create Action with modal form for support / feedback / bug report.
Installation
You can install the package via composer:
composer require filahq/filament-assist
You can run the install command:
php artisan filament-assist:install
Setup
1. Register the Plugin
Add the following code to your panel provider to register the plugin and enable access to all assist resources in your Filament panel:
use FilaHQ\FilamentAssist\FilamentAssistPlugin; class AdminPanelProvider extends PanelProvider { public function panel(Panel $panel): Panel { return $panel ->plugins([ FilamentAssistPlugin::make() ]); } }
2. Choose How to Display
You have two ways to add the assist form:
Option 1: As a Page Action
use FilaHQ\FilamentAssist\Actions\AssistAction; class YourPage extends Page { protected function getHeaderActions(): array { return [ AssistAction::make() ]; } }
Option 2: As a Livewire Component
// In your blade file
<livewire:assist label="Get Help" type="support">
3. Customize (Optional)
Set a default assist type:
FilamentAssistPlugin::make() ->defaultAssistType("support")
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-16