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. faveo-helpdesk/laravel-cache

ActiveLibrary

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

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

v0.1.0(2y ago)1179↓100%MITPHPPHP ^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 1mo 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU1NDU2MjUsIm5iZiI6MTc3NTU0NTMyNSwicGF0aCI6Ii84ODYwNjQxOC8yNjE2MTA5MTgtNWJmY2U0NGYtMWUwMS00NzNjLTg0NmMtZDYwNDhjN2U2MDVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDA3VDA3MDIwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc1YzVlYzhjZWVkZmExYWVkZGZmMWI3ZTFmMDBmN2IzZTYwMTgxMzBhNzQ3OWI0OGEwMDBlZjFlM2YxOWE3NGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.h0-u7oHpDbG81EFX0tL5O6VfgQS-aK1O846BQQH89Kg)](https://private-user-images.githubusercontent.com/88606418/261610918-5bfce44f-1e01-473c-846c-d6048c7e605c.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU1NDU2MjUsIm5iZiI6MTc3NTU0NTMyNSwicGF0aCI6Ii84ODYwNjQxOC8yNjE2MTA5MTgtNWJmY2U0NGYtMWUwMS00NzNjLTg0NmMtZDYwNDhjN2U2MDVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDA3VDA3MDIwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc1YzVlYzhjZWVkZmExYWVkZGZmMWI3ZTFmMDBmN2IzZTYwMTgxMzBhNzQ3OWI0OGEwMDBlZjFlM2YxOWE3NGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.h0-u7oHpDbG81EFX0tL5O6VfgQS-aK1O846BQQH89Kg)

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

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

990d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b73392587a4d81590b328d86279f6d426a2e4e89851e2c3ccc2fea51fd3f8331?d=identicon)[RafficMohammed](/maintainers/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)
```

PHPackages © 2026

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