PHPackages                             faveo-helpdesk/laravel-cache - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. faveo-helpdesk/laravel-cache

ActiveLibrary[Caching](/categories/caching)

faveo-helpdesk/laravel-cache
============================

Configure multiple Laravel cache drivers without accessing the server. It will update the config accordingly

v0.1.0(2y ago)1196MITPHPPHP ^8.1

Since Aug 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ladybirdweb/advance-cache)[ Packagist](https://packagist.org/packages/faveo-helpdesk/laravel-cache)[ RSS](/packages/faveo-helpdesk-laravel-cache/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

[![Faveo_Logo](https://private-user-images.githubusercontent.com/88606418/261610918-5bfce44f-1e01-473c-846c-d6048c7e605c.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODU2NzY0OTUsIm5iZiI6MTc4NTY3NjE5NSwicGF0aCI6Ii84ODYwNjQxOC8yNjE2MTA5MTgtNWJmY2U0NGYtMWUwMS00NzNjLTg0NmMtZDYwNDhjN2U2MDVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA4MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwODAyVDEzMDk1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThlYjUwN2UxMTg5NjQ0MjMzOWZiYzg2MmJmNmUyNDg4ZmNjYjM5NmQ4ZjlkNWYyOTIyOTZiZGJhMTAyNmQ3ZjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.bKl2I4H9pC7hJS6ceQPpIS03w7lfi5pJNEGdZcV17mM)](https://private-user-images.githubusercontent.com/88606418/261610918-5bfce44f-1e01-473c-846c-d6048c7e605c.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODU2NzY0OTUsIm5iZiI6MTc4NTY3NjE5NSwicGF0aCI6Ii84ODYwNjQxOC8yNjE2MTA5MTgtNWJmY2U0NGYtMWUwMS00NzNjLTg0NmMtZDYwNDhjN2U2MDVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA4MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwODAyVDEzMDk1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThlYjUwN2UxMTg5NjQ0MjMzOWZiYzg2MmJmNmUyNDg4ZmNjYjM5NmQ4ZjlkNWYyOTIyOTZiZGJhMTAyNmQ3ZjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.bKl2I4H9pC7hJS6ceQPpIS03w7lfi5pJNEGdZcV17mM)

Handle multiple cache drivers
=============================

[](#handle-multiple-cache-drivers)

Installation and Usage Instructions
-----------------------------------

[](#installation-and-usage-instructions)

What It Does
------------

[](#what-it-does)

This package allows you to choose cache driver from application without contacting server or any other files.

Installation
------------

[](#installation)

```
composer require faveo-helpdesk/laravel-cache
```

Publish the package

```
php artisan vendor:pubish --force --tag=advance-cache
```

Usage Instructions
------------------

[](#usage-instructions)

How to update a cache driver ?

```
use CacheDriver\HandleCacheController;

$cache = new HandleCacheController();

// Store file driver
$cache->modify(['DEFAULT' => 'file']);

// Store database driver
$cache->modify(['DEFAULT' => 'database']);

// Store array driver
$cache->modify(['DEFAULT' => 'array']);

// Store redis driver
$cache->modify(['DEFAULT' => 'redis', 'CONNECTION_REDIS' => 'default']);

// Store memcached driver
$cache->modify(['DEFAULT' => 'memcached', 'MEMCACHED_HOST' => '', 'MEMCACHED_PORT' => '', 'MEMCACHED_PERSISTENT_ID' => '', 'MEMCACHED_USERNAME' => '', 'MEMCACHED_PASSWORD' => '']);

// Store dynamodb driver
$cache->modify(['DEFAULT' => 'dynamodb', 'AWS_ACCESS_KEY_ID' => '', 'AWS_SECRET_ACCESS_KEY' => '', 'AWS_DEFAULT_REGION' => '', 'DYNAMODB_CACHE_TABLE' => '', 'DYNAMODB_ENDPOINT' => '']);
```

How to get a speific Constant Value with Default value ?

```
use CacheDriver\HandleCacheController;

$cache = new HandleCacheController();

// Gets a default driver. If constant was not there, 'database' value will be picked. Not only DEFAULT constant but also serach all kind of cache Constant value
$cache::value('DEFAULT', 'database');
```

How to get a all values from speific driver ?

```
use CacheDriver\HandleCacheController;

$cache = new HandleCacheController();

// Passes a driver like file, database, array, redis, memcached and dynamodb
$cache::all('file');
```

License
-------

[](#license)

The MIT License (MIT).

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1091d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/88606418?v=4)[RafficMohammed](/maintainers/RafficMohammed)[@RafficMohammed](https://github.com/RafficMohammed)

---

Top Contributors

[![RafficMohammed](https://avatars.githubusercontent.com/u/88606418?v=4)](https://github.com/RafficMohammed "RafficMohammed (12 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/faveo-helpdesk-laravel-cache/health.svg)

```
[![Health](https://phpackages.com/badges/faveo-helpdesk-laravel-cache/health.svg)](https://phpackages.com/packages/faveo-helpdesk-laravel-cache)
```

###  Alternatives

[iazaran/smart-cache

Smart Cache is a caching optimization package designed to enhance the way your Laravel application handles data caching. It intelligently manages large data sets by compressing, chunking, or applying other optimization strategies to keep your application performant and efficient.

21114.2k](/packages/iazaran-smart-cache)[phpfastcache/phpssdb

PHP SSDB Driver for phpFastCache

14736.9k1](/packages/phpfastcache-phpssdb)[rapidwebltd/rw-file-cache

RW File Cache is a PHP File-based Caching Library. Its syntax is designed to closely resemble the PHP memcache extension.

15196.8k7](/packages/rapidwebltd-rw-file-cache)[yuzuru-s/redis-recommend

Wrapping Redis's sorted set APIs for specializing recommending operations.

392.9k](/packages/yuzuru-s-redis-recommend)[ichhabrecht/intcache

Turn uncachable page objects into cacheable links

193.9k](/packages/ichhabrecht-intcache)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
