Install filament-exceptions
mainFollow these steps to integrate the exception viewer into your FilamentPHP admin panel:
- Install the package via Composer:
composer require bezhansalleh/filament-exceptions - Publish and run the migrations:
php artisan exceptions:install - Register the plugin in your Filament Panel provider:
public function panel(Panel $panel): Panel { return $panel ->plugins([ \BezhanSalleh\FilamentExceptions\FilamentExceptionsPlugin::make() ]); }
Important: Theming
To ensure the plugin follows your Filament theme, add the following line to your theme.css file and rebuild your assets:
@source '../../../../vendor/bezhansalleh/filament-exceptions/resources/views/**/*.blade.php';npm run buildcomposer require bezhansalleh/filament-exceptions
php artisan exceptions:install