Manage your application's cache from a handy Laravel Nova dashboard card.
You can install the package in to any app running Laravel Nova via Composer:
composer require vink/nova-cache-card
Once installed, you need to add the card to your NovaServiceProvider.php
file:
// in app/Providers/NovaServiceProvder.php
// ...
public function cards()
{
return [
// ...
new \Vink\NovaCacheCard\CacheCard(),
];
}
A new card will appear on your dashboard giving you control over your applications default cache driver. From the card, you can get values from the cache, forget values from the cache, or even flush the whole thing.
This is an administrative tool used to manage your applications caching. It is up to YOU to ensure this card is properly gated for appropriate administrators only. Fortunately, Nova makes this easy. I am in no way responsible if you manage to flush very important cache items down the toilet.
This card is released under the MIT License (MIT). Please see the included license file for more information.