Oops
Never accidentally edit your Filament production panel again! Filament Oops displays a clear 'Production' warning, helping you avoid updating your production Filament panel by mistake.
Author:
Ahmad
Documentation
- Installation
- Usage
- Psst: Wanna build a Laravel SaaS application quickly?
- Contributing
- Security Vulnerabilities
- Credits
- License
Filament Oops displays a clear 'Production' warning on your production Filament panel, helping you avoid costly mistakes and keeping your development safe.
Filament Oops uses the APP_ENV environment variable to determine the environment your Filament panel is running in. If you're running your Filament panel in production, Filament Oops will display a clear 'Production' warning on your panel.

You can also define custom environment names and colors if you want to customize the warning message for your specific environments.
#Installation
You can install the package via composer:
composer require saasykit/filament-oops
Optionally, you can publish the views using (in case you want to customize the views):
php artisan vendor:publish --tag="filament-oops-views"
#Usage
All you need to do is add the FilamentOopsPlugin to your Filament plugin list in your FilamentServiceProvider (usually located in app/Providers/Filament/AdminPanelProvider.php):
class AdminPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
return $panel
// some other configurations
->plugins([
FilamentOopsPlugin::make(), // Add this line
]);
}
}
#Customization
You can customize the environment names and colors by using the addEnvironment method on the FilamentOopsPlugin:
class AdminPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
return $panel
// some other configurations
->plugins([
FilamentOopsPlugin::make()->addEnvironment('local', 'Local', '#008000'), // Add this line
]);
}
}
#Psst: Wanna build a Laravel SaaS application quickly?
If you want to build a SaaS app quickly, support us by checking out SaaSykit. SaaSykit is a SaaS starter kit (boilerplate) that comes packed with all components required to run a modern SaaS software. Available in both multi-tenant and single-tenant versions.
#Contributing
Please see CONTRIBUTING for details.
#Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
#Credits
#License
The MIT License (MIT). Please see License File for more information.
The author
Ahmed is a software developer with 16+ years of experience in PHP, specializing in Laravel and Symfony. Driven by his passion for building software products, he created SaaSykit, a comprehensive SaaS starter kit with essential features to simplify launching SaaS projects.
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle
