Cache Manager plugin screenshot
Dark mode ready
Multilingual support
Supports v5.x

Cache Manager

Community

Easily clear your Laravel application cache directly from the Filament admin panel.

Tags: Developer Tool
Supported versions:
4.x
Srinath Reddy Dudi avatar Author: Srinath Reddy Dudi

Package health

Beta

Automated checks of this plugin's Composer package

80 / 100
Security 64
Maintenance 100
Ecosystem 100
13 checks
  • Passed: Current Laravel version supported — Package dependencies resolve together with current Laravel 13.0.
  • Passed: Current PHP version supported — Constraint ^8.2 supports current PHP 8.5.
  • Skipped: Current Symfony version supported
  • Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
  • Passed: Commit and release recency — Active: last commit 22 days ago; last release 275 days ago.
  • Passed: composer.lock not committed by library composer.lock is absent from the released dist archive.
  • Passed: Dist archive is lean
  • Failed: GitHub Actions pinned to SHA View details on Plumb
  • Passed: Open security advisories
  • Passed: Dependabot PR responsiveness — No open Dependabot PRs.
  • Warning: Dependabot or Renovate configured — Updater does not cover the JavaScript ecosystem, which has a committed lockfile.
  • Failed: Dependency update cooldown configured No cooldown configured in .github/dependabot.yml. View details on Plumb
  • Passed: Provides a security policy
Third-party plugin. This is built by the community, not the Filament team. Filament does not review, endorse, or vet the security of plugins outside the filament/ namespace. Review the source and install at your own risk. Found malware or an unresolved security issue the author won't address? Report it .
Powered by Plumb Last scanned 7 hours ago

Documentation

Filament Cache Manager is a FilamentPHP plugin that allows you to easily clear your Laravel application cache directly from the Filament admin panel.

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads


Filament cache manager

#📦 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

Srinath Reddy Dudi avatar Author: Srinath Reddy Dudi

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.

Plugins
3
Stars
26

From the same author