Skip to content
← Back to projects

Filament Fabricator

Block-Based Page Builder Skeleton for your Filament Apps

#Block-Based Page Builder Skeleton for your Filament Apps

Latest Version on Packagist Total Downloads

fabricator banner

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.

#Compatibility

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

#Installation

You can install the package via composer:

composer require z3d0x/filament-fabricator

After that run the install command:

php artisan filament-fabricator:install

Register 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:assets

#Documentation

Documentation can be viewed at: https://filamentphp.com/plugins/z3d0x-fabricator

#Screenshots

fabricator-index fabricator-edit-1 fabricator-edit-2

#Migrate

#From 3.x to 4.x

  • Relies on PHP 8.3 as the minimum version

#From 2.x to 3.x

  • There is no longer a default value for the pages.layout database column
  • FilamentFabricatorManager#getPageUrlFromId no longer has a prefixSlash parameter
  • Relies on PHP 8.2 as the minimum version

#From Filament v4 to Filament v5

Following 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 update

#From Filament v3 to Filament v4

Following 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 update

For more info on breaking changes, please refer to the CHANGELOG

#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.

New version available.