承接 tomatophp/filament-helpers 相关项目开发

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

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

tomatophp/filament-helpers

最新稳定版本:v1.0.0

Composer 安装命令:

composer require tomatophp/filament-helpers

包简介

Helper Class Generator to manage your forms and table inside your filament app

README 文档

README

Screenshot

Filament Helper Classes

Latest Stable Version License Downloads

Helper Class Generator to manage your forms and table inside your filament app

Screenshots

Command

Installation

composer require tomatophp/filament-helpers

Using

to generate a new helper class you can use this command

php artisan filament:helpers

and select the type and name, and you can generate the class inside module or on selected path inside your resource.

Using Generated Class

and you can use the generated class like this

use App\Filament\Resources\AccountResource\Forms\UserForm;

public function form(Form $form): Form
{
    return UserForm::make($form);
}
use App\Filament\Resources\AccountResource\Tables\UserTable;

public function form(Table $table): Table
{
    return UserTable::make($table);
}
use App\Filament\Resources\AccountResource\Actions\UserActions;

public function table(Table $table): Table
{
    return $table->actions(UserActions::make());
}
use App\Filament\Resources\AccountResource\Actions\UserFilters;

public function table(Table $table): Table
{
    return $table->filters(UserFilters::make());
}

Other Filament Packages

Checkout our Awesome TomatoPHP

统计信息

  • 总下载量: 7.69k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 12
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 12
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-11