PHP code example of z3d0x / filament-fabricator

1. Go to this page and download the library: Download z3d0x/filament-fabricator library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

z3d0x / filament-fabricator example snippets


use Z3d0X\FilamentFabricator\FilamentFabricatorPlugin;

//..

public function panel(Panel $panel): Panel
{
    return $panel
        // ...
        ->plugins([
            FilamentFabricatorPlugin::make(),
        ]);
}
bash
php artisan filament-fabricator:install

php artisan filament:assets