PHP code example of slym758 / filament-filacraft-theme
1. Go to this page and download the library: Download slym758/filament-filacraft-theme 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/ */
slym758 / filament-filacraft-theme example snippets
use Slym758\FilaCraft\FilaCraftPlugin;
public function panel(Panel $panel): Panel
{
return $panel
// ...
->plugins([
FilaCraftPlugin::make(),
]);
}
bash
php artisan filacraft:install