juampi92/artisan-cache-debug

Feature request: add support for a specific cache store

Closed this issue · 1 comments

I'm using redis for other cache stores than the default store. Could you maybe add a command option to specify certain cache stores?

For example php artisan cache:debug --store=redis would show the results for the that specific store.

If I change https://github.com/juampi92/artisan-cache-debug/blob/main/src/CacheExplorerManager.php#L13 to this, it just works as expected for me 👍

    private readonly Repository $cacheManager;

    public function __construct() 
    {
        $this->cacheManager = Cache::store('redis');
    }