Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dannyvink/nova-cache-card
Manage your application's cache from a handy Laravel Nova dashboard card.
https://github.com/dannyvink/nova-cache-card
Last synced: 3 months ago
JSON representation
Manage your application's cache from a handy Laravel Nova dashboard card.
- Host: GitHub
- URL: https://github.com/dannyvink/nova-cache-card
- Owner: dannyvink
- License: mit
- Created: 2018-08-22T22:32:26.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-16T21:11:41.000Z (over 5 years ago)
- Last Synced: 2024-07-19T04:37:27.140Z (4 months ago)
- Language: Vue
- Size: 17.6 KB
- Stars: 28
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Laravel Nova - Cache Management Card
Manage your application's cache from a handy Laravel Nova dashboard card.
## Installation
You can install the package in to any app running [Laravel Nova](https://nova.laravel.com) via Composer:
```bash
composer require vink/nova-cache-card
```Once installed, you need to add the card to your `NovaServiceProvider.php` file:
```php
// in app/Providers/NovaServiceProvder.php// ...
public function cards()
{
return [
// ...
new \Vink\NovaCacheCard\CacheCard(),
];
}
```## Usage
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.
![Card Preview](http://dcv.io/projects/nova-cache-card/cache_card.png)
![Cache Viewer](http://dcv.io/projects/nova-cache-card/cache_view.png)
## Important Note
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](https://nova.laravel.com/docs/1.0/customization/cards.html#authorization). I am in no way responsible if you manage to flush *very important* cache items down the toilet.
## License
This card is released under the MIT License (MIT). Please see the included [license file](LICENSE.md) for more information.