solution-forest/filament-scaffold 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

solution-forest/filament-scaffold

最新稳定版本:0.0.10

Composer 安装命令:

composer require solution-forest/filament-scaffold

包简介

This is my package filament-scaffold

README 文档

README

Latest Version on Packagist Total Downloads

Description

Filament scaffold is a toolkiit for Filament Admin that simplifies the generation of resources. It can automatically generate models, resources, migration files, and more, creating corresponding forms and table views based on the database table. Filament scaffold aims to speed up development and reduce the time spent writing repetitive code.

Features

  • Automatic Filament Resource Generation: Generates Filament resource files, including forms and table views, based on specified table names.

  • Support for Multiple Resource Types: Can generate models, migration files, factories, controllers, and more.

  • Dynamic Form Generation: Automatically generates form fields based on database table structure.

  • Seamless Integration with Laravel and Filament: Utilizes Laravel's Artisan commands and Filament's extension mechanism for efficient resource management.

Installation

You can install the package via composer:

composer require solution-forest/filament-scaffold

Then, you need to connect to the database in the .env file.

In your preject, app\Providers\Filament\xxxPanelProvider.php add this code:

use Solutionforest\FilamentScaffold\FilamentScaffoldPlugin; public function panel(Panel $panel): Panel { return $panel ..., ->plugin(FilamentScaffoldPlugin::make()); }

Publishing Configuration file

To publish the configuration file, use:

php artisan vendor:publish --provider="Solutionforest\FilamentScaffold\FilamentScaffoldServiceProvider" --tag="filament-scaffold-config"

You can turn to false to unable the form.

return [ 'enabled' => false, ];

Usage

In your admin page will have a Scaffolds from. You can choose the table from the connected database or create other table in the form. Then, you can click the "Create" button to create the reesource, model or migration.

Note

In the resource file, for the table, the table column type default is TextColumn. For the form, the type defualt is TextInput.

Preview

demo2.mp4

image

image image image image

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

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 60
  • Watchers: 3
  • Forks: 17
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固