cms-multi/filament-clear-cache
Adds a “Clear Cache” button to your Filament admin toolbar so you can quickly run cache-clearing commands without leaving the panel. Supports Filament v2–v5 (via plugin versions) and configurable via a publishable config.
php artisan cache:clear, php artisan optimize:clear) and associated friction.enabled() config)."This package adds a one-click cache-clear button to our Filament admin panel, cutting debugging time by 80% for developers. By eliminating manual CLI commands, we’ll reduce friction in testing and deployment workflows—especially valuable for teams working on multi-tenant apps or complex migrations. It’s a low-risk, high-impact DX improvement with no operational overhead (disabled in production by default)."
ROI:
*"The Filament Clear Cache package integrates a trash-can icon in the Filament toolbar to trigger optimize:clear (or custom commands) with a single click. Key benefits:
->enabled(['local', 'staging'])—never exposed in production.page-cache:clear) or Livewire event triggers for analytics.Trade-offs:
Recommendation: Pilot in dev/staging for 2 sprints, then roll out to all environments where cache clearing is manual today."*
*"Add this to your Filament panel in 3 steps:
composer require cms-multi/filament-clear-cachepanel():
FilamentClearCachePlugin::make()->enabled(['local', 'staging']),
Pro tips:
FilamentClearCache::addCommand('view:clear');
FilamentClearCachePlugin::make()->hideOnSimplePages(true),
$this->dispatch('clearCacheIncrement')->to(ClearCache::class);
```"*
How can I help you explore Laravel packages today?