PHP code example of jeffersongoncalves / filament-panel-theme-isolation

1. Go to this page and download the library: Download jeffersongoncalves/filament-panel-theme-isolation 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/ */

    

jeffersongoncalves / filament-panel-theme-isolation example snippets


use JeffersonGoncalves\FilamentPanelThemeIsolation\FilamentPanelThemeIsolationPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->id('admin')
        ->plugin(FilamentPanelThemeIsolationPlugin::make());
}
bash
php artisan vendor:publish --tag=filament-panel-theme-isolation-config
bash
php artisan vendor:publish --tag=filament-panel-theme-isolation-views