用于您的 Filament 应用程序的基于块的页面构建器骨架
What is Filament Fabricator? Filament Fabricator is simply said a block-based page builder skeleton. Filament Fabricator takes care of the PageResource & frontend routing, so you can focus on what really matters: your Layouts & Page Blocks.
| Fabricator | Filament | PHP |
|---|---|---|
| 1.x | ^2.0 | ^8.0 |
| 2.x | ^3.0 | ^8.1 |
| 3.x | ^4.0 | ^8.2 |
| 4.x | ^5.0 | ^8.3 |
You can install the package via composer:
composer require z3d0x/filament-fabricatorAfter that run the install command:
php artisan filament-fabricator:installRegister a FilamentFabricatorPlugin instance in your Panel provider:
use Z3d0X\FilamentFabricator\FilamentFabricatorPlugin;
//..
public function panel(Panel $panel): Panel
{
return $panel
// ...
->plugins([
FilamentFabricatorPlugin::make(),
]);
}Then, publish the registered plugin assets:
php artisan filament:assetsDocumentation can be viewed at: https://filamentphp.com/plugins/z3d0x-fabricator
pages.layout database columnFilamentFabricatorManager#getPageUrlFromId no longer has a prefixSlash parameterFollowing the upgrade guide from Filament should be enough.
In case it isn't, you can run the following commands:
composer require filament/upgrade:"^5.0" -W --dev
./vendor/bin/filament-v5
# Run the commands output by the upgrade script, they are unique to your app
composer require filament/filament:"^5.0" z3d0x/filament-fabricator:"^5.0" -W --no-update
composer updateFollowing the upgrade guide from Filament should be enough.
In case it isn't, you can run the following commands:
composer require filament/upgrade:"^4.0" -W --dev
./vendor/bin/filament-v4
# Run the commands output by the upgrade script, they are unique to your app
composer require filament/filament:"^4.0" z3d0x/filament-fabricator:"^4.0" -W --no-update
composer updateFor more info on breaking changes, please refer to the CHANGELOG
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.
暂无开放 Issues,或尚未同步最近议题。