承接 filahq/filament-assist 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-03-16