jeffersongoncalves / filament-page-cache
Filament page to watch and control the laravel-page-cache full-page cache: hit ratio, flush everything, forget one URL, pause and resume.
Package info
github.com/jeffersongoncalves/filament-page-cache
pkg:composer/jeffersongoncalves/filament-page-cache
Requires
- php: ^8.2
- filament/filament: ^5.3
- jeffersongoncalves/laravel-page-cache: ^1.2
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.0
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^3.0|^4.0
- pestphp/pest-plugin-laravel: ^3.0|^4.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-10 19:40:15 UTC
README
Filament Page Cache
A Filament page to watch and control the full-page cache of jeffersongoncalves/laravel-page-cache — no terminal, no deploy:
- Status, hit ratio, lifetime and last flush at a glance (live, the stats poll)
- Flush everything after a content change
- Forget one URL: every cached variant of a path (locales, themes, query strings) is rebuilt on its next visit
- Pause / resume the cache while you debug a page
Compatibility
| Branch | Filament | Package version |
|---|---|---|
| 1.x | 3.x | ^1.0 |
| 2.x | 4.x | ^2.0 |
| 3.x | 5.x | ^3.0 |
Installation
composer require jeffersongoncalves/filament-page-cache:"^3.0"
Set up laravel-page-cache first (the CachePublicPage middleware on your public routes). Hits and misses are counted while page-cache.stats is on (default).
Usage
use JeffersonGoncalves\Filament\PageCache\PageCachePlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ PageCachePlugin::make(), ]); }
The plugin adds a Page cache page to the panel's Settings group. Register it only on panels whose users may flush the cache.
To use one of your panel's own navigation groups (a string or a closure, so it can be translated):
PageCachePlugin::make() ->navigationGroup(fn (): string => __('admin.navigation.settings')),
Requirements
- PHP 8.2 or higher
- Filament 5.x
- jeffersongoncalves/laravel-page-cache 1.2+
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.
