Cache Manager
Easily clear your Laravel application cache directly from the Filament admin panel.
Author:
Srinath Reddy Dudi
Documentation
- 📦 Installation
- 🔐 Access Control
- ⚙️ Customization
- 🧩 Predefined Cache Keys
- 🧱 Card Layout Columns
- Testing
- Changelog
- Contributing
- Security Vulnerabilities
- Credits
- License
Filament Cache Manager is a FilamentPHP plugin that allows you to easily clear your Laravel application cache directly from the Filament admin panel.

#📦 Installation
Install via Composer:
composer require binarybuilds/filament-cache-manager
Register the plugin in your panel service provider:
use BinaryBuilds\FilamentCacheManager\FilamentCacheManagerPlugin;
$panel->plugin(FilamentCacheManagerPlugin::make());
#🔐 Access Control
Restrict who can access the plugin:
FilamentCacheManagerPlugin::make()
->canAccessPlugin(fn () => Auth::user()->role === 'Admin');
Restrict who can use the Forget Key action:
FilamentCacheManagerPlugin::make()
->canForgetKey(fn () => Auth::user()->role === 'Admin');
Restrict who can use the Flush Cache action:
FilamentCacheManagerPlugin::make()
->canFlushCache(fn () => false);
#⚙️ Customization
Change navigation label:
FilamentCacheManagerPlugin::make()
->navigationLabel('Cache');
Change navigation icon:
use Filament\Support\Icons\Heroiconl;
FilamentCacheManagerPlugin::make()
->navigationIcon(Heroicon::CpuChip);
Change navigation group:
FilamentCacheManagerPlugin::make()
->navigationGroup('Settings');
#🧩 Predefined Cache Keys
Display common cache keys as cards with title, description, and optional status color:
FilamentCacheManagerPlugin::make()
->addCacheKey(
'homepage',
'Homepage Cache',
'Clear this cache if the content on the homepage is out of date.'
)
->addCacheKey(
'layout',
'Layout Cache',
'Clear this cache if you recently made changes to menu items. Beware! this might cause a temporary slowness to the application.',
'danger'
)
->addCacheKey(
'settings',
'Settings Cache',
'Clear this cache if you recently updated site settings'
)
->addCacheKey(
'articles',
'Articles Cache',
'Clear this cache if you added or updated articles and your changes are not reflecting on the site.'
);
#🧱 Card Layout Columns
Control the number of columns used to display the predefined cache key cards:
FilamentCacheManagerPlugin::make()
->columns(3);
#Testing
composer test
#Changelog
Please see CHANGELOG for more information on what has changed recently.
#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
Hi, I’m Srinath — a software engineer and product builder passionate about creating tools that make developers’ lives easier. I’ve been working with Laravel for years, building open-source packages and performance-focused tools to help teams ship better software faster. Through my work at BinaryBuilds, I focus on crafting reliable, developer-friendly solutions that simplify complex workflows and boost productivity.
From the same author
Command Runner
Run artisan and shell commands in the background from your Filament admin panel.
Author:
Srinath Reddy Dudi
Failed Jobs
A plugin to easily retry and prune failed jobs.
Author:
Srinath Reddy Dudi
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