{"id":15016899,"url":"https://github.com/cms-multi/filament-clear-cache","last_synced_at":"2026-03-06T22:04:41.237Z","repository":{"id":65017375,"uuid":"580792343","full_name":"cms-multi/filament-clear-cache","owner":"cms-multi","description":"Easily clear your Laravel cache from within Filament admin","archived":false,"fork":false,"pushed_at":"2026-01-27T19:56:35.000Z","size":148,"stargazers_count":54,"open_issues_count":3,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-27T20:30:59.158Z","etag":null,"topics":["cache","clear-cache","filament","filamentphp","laravel","laravel-package","livewire","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cms-multi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["howdu"]}},"created_at":"2022-12-21T13:13:30.000Z","updated_at":"2026-01-27T19:56:38.000Z","dependencies_parsed_at":"2024-01-01T04:33:18.133Z","dependency_job_id":"4b42a81b-f598-40af-b405-86f9239ba62b","html_url":"https://github.com/cms-multi/filament-clear-cache","commit_stats":{"total_commits":35,"total_committers":4,"mean_commits":8.75,"dds":0.1428571428571429,"last_synced_commit":"a209856708660158b0509bca3e08c2b6ca23d731"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":"spatie/package-skeleton-laravel","purl":"pkg:github/cms-multi/filament-clear-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cms-multi%2Ffilament-clear-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cms-multi%2Ffilament-clear-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cms-multi%2Ffilament-clear-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cms-multi%2Ffilament-clear-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cms-multi","download_url":"https://codeload.github.com/cms-multi/filament-clear-cache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cms-multi%2Ffilament-clear-cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30088343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T15:40:14.053Z","status":"ssl_error","status_checked_at":"2026-03-04T15:40:13.655Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cache","clear-cache","filament","filamentphp","laravel","laravel-package","livewire","php"],"created_at":"2024-09-24T19:49:32.459Z","updated_at":"2026-03-06T22:04:36.226Z","avatar_url":"https://github.com/cms-multi.png","language":"PHP","funding_links":["https://github.com/sponsors/howdu"],"categories":[],"sub_categories":[],"readme":"# Filament Clear Cache\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/cms-multi/filament-clear-cache.svg?style=flat-square)](https://packagist.org/packages/cms-multi/filament-clear-cache)\n[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/cms-multi/filament-clear-cache/run-tests.yml?branch=main\u0026label=tests\u0026style=flat-square)](https://github.com/cms-multi/filament-clear-cache/actions?query=workflow%3Arun-tests+branch%3Amain)\n[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/cms-multi/filament-clear-cache/fix-php-code-style-issues.yml?branch=main\u0026label=code%20style\u0026style=flat-square)](https://github.com/cms-multi/filament-clear-cache/actions?query=workflow%3A\"Fix+PHP+code+style+issues\"+branch%3Amain)\n[![Total Downloads](https://img.shields.io/packagist/dt/cms-multi/filament-clear-cache.svg?style=flat-square)](https://packagist.org/packages/cms-multi/filament-clear-cache)\n\nAdd a button to easily clear the cache from your filament admin.\n\n\u003cimg width=\"449\" alt=\"Filament Admin Toolbar Header\" src=\"https://user-images.githubusercontent.com/533658/224348501-81f91bde-181c-454a-aafc-e633c1e7ae6f.png\"\u003e\n\n\n#### Compatibility\n\n| Plugin Version | Filament Version | PHP Version |\n|----------------|-----------------|-------------|\n| [1.x](https://github.com/cms-multi/filament-clear-cache/tree/1.x)            | 2.x   | \\\u003e 8.0      |\n| [2.x](https://github.com/cms-multi/filament-clear-cache/tree/2.x)            | 3.x             | \\\u003e 8.1      |\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require cms-multi/filament-clear-cache\n```\n\n## Configuration\n\nYou can publish the configuration with:\n\n```shell\nphp artisan vendor:publish --provider=\"CmsMulti\\FilamentClearCache\\FilamentClearCacheServiceProvider\"\n```\n\n### Registering the plugin\n\n```php\nuse CmsMulti\\FilamentClearCache\\FilamentClearCachePlugin;\n\npublic function panel(Panel $panel): Panel\n{\n    return $panel\n        -\u003eplugins([\n            FilamentClearCachePlugin::make(),\n        ])\n}\n```\n\n## Customizing\n\nUnder the hood `optimize:clear` is called after clicking the trash button.\n\nYou may register any custom commands from inside the `boot()` method of your Service Provider:\n\n```php\nuse CmsMulti\\FilamentClearCache\\Facades\\FilamentClearCache;\n\npublic function boot()\n{\n    FilamentClearCache::addCommand('page-cache:clear');\n}\n```\n\nTo increment the button count call Livewire event `clearCacheIncrement`.\n```php\n// Livewire v2\n$this-\u003eemit('clearCacheIncrement');\n\n// Livewire v3\n$this-\u003edispatch('clearCacheIncrement')-\u003eto(\\CmsMulti\\FilamentClearCache\\Http\\Livewire\\ClearCache::class);\n```\n\n## Testing\n\n```bash\ncomposer test\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## Security Vulnerabilities\n\nPlease review [our security policy](../../security/policy) on how to report security vulnerabilities.\n\n## Credits\n\n- [howdu](https://github.com/cms-multi)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcms-multi%2Ffilament-clear-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcms-multi%2Ffilament-clear-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcms-multi%2Ffilament-clear-cache/lists"}