Download the PHP package solution-forest/filament-scaffold without Composer
On this page you can find all versions of the php package solution-forest/filament-scaffold. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download solution-forest/filament-scaffold
More information about solution-forest/filament-scaffold
Files in solution-forest/filament-scaffold
Package filament-scaffold
Short Description This is my package filament-scaffold
License MIT
Homepage https://github.com/solution-forest/filament-scaffold
Informations about the package filament-scaffold
Filament Scaffold
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:
Then, you need to connect to the database in the .env file.
In your preject, app\Providers\Filament\xxxPanelProvider.php add this code:
Publishing Configuration file
To publish the configuration file, use:
You can turn to false to unable the form.
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
https://github.com/user-attachments/assets/adb41e0c-df7c-48cf-8d33-d5e7d985efb7
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
- celia514
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-scaffold with dependencies
filament/filament Version ^3.0
spatie/laravel-package-tools Version ^1.15.0