PHP code example of wotz / filament-brigada-theme

1. Go to this page and download the library: Download wotz/filament-brigada-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/ */

    

wotz / filament-brigada-theme example snippets


use Wotz\FilamentBrigadaTheme\Filament\BrigadaThemePlugin;

$panel->plugins([
    BrigadaThemePlugin::make(),
]);

BrigadaThemePlugin::make()
    ->defaultPalette(Palette::GreenYellow)
    ->sidebarWidth('20rem')
    ->paletteSwitcher(false) // hide the switcher, keep the default palette
    ->layout(false)          // stylesheet only; arrange the panel yourself

$panel->renderHook(
    'filament-brigada-theme::sidebar.utilities',
    fn () => view('filament.view-website-link'),
);
bash
php artisan vendor:publish --tag=filament-brigada-theme-config