PHPackages                             fulfillment/laravel-cache-fallback - 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. fulfillment/laravel-cache-fallback

ActiveLibrary[Caching](/categories/caching)

fulfillment/laravel-cache-fallback
==================================

Provides fallback mechanisms for cache handlers

2.1.0(5y ago)14.9kApache-2.0PHPPHP ~5.6|~7.0

Since Feb 26Pushed 1y agoCompare

[ Source](https://github.com/Fulfillment-dot-com/laravel-cache-fallback)[ Packagist](https://packagist.org/packages/fulfillment/laravel-cache-fallback)[ Docs](https://github.com/Fulfillment-dot-com/laravel-cache-fallback)[ RSS](/packages/fulfillment-laravel-cache-fallback/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (5)Versions (8)Used By (0)

CacheFallback
=============

[](#cachefallback)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2db106051895b0b067039bbe3016897d4cabc20dc3a88a7afac33b15a301c946/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66696e676f2f6c61726176656c2d63616368652d66616c6c6261636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fingo/laravel-cache-fallback)[![Software License](https://camo.githubusercontent.com/f9a2da5664498a2a168a000b85719b4e5a61b6df8aae02cca978ef2580f8b1dc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d417061636865253230322e302d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/3fdc04f3ded03a03ec33dc3677f39e054c4645dba8ba5aeba27aacfb939f3190/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f66696e676f2f6c61726176656c2d63616368652d66616c6c6261636b2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/fingo/laravel-cache-fallback)[![Total Downloads](https://camo.githubusercontent.com/d7a3f04077bd87b6f8b0dd7415359aa79f9e63413819348a6a0bd47ca01e8153/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f66696e676f2f6c61726176656c2d63616368652d66616c6c6261636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fingo/laravel-cache-fallback)[![Code Quality](https://camo.githubusercontent.com/fd9617e5b0bbf699d97a37456a3a97bc0885cc4a59bbbf4cfc068c183419889d/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f66653730336165342d333637352d343664372d626533312d3133646132336438346365622f6d696e692e706e67)](https://insight.sensiolabs.com/projects/fe703ae4-3675-46d7-be31-13da23d84ceb)

**This is a fork of [fingo/laravel-cache-fallback](https://github.com/fingo/laravel-cache-fallback) for maintaining compatibility with Laravel.**

Package for falling back cache drivers if current is not available.

Be advised that if the last driver fails, normal laravel Error is thrown

Usage
-----

[](#usage)

Add fallback provider to config/app.php

```
Fingo\LaravelCacheFallback\CacheFallbackServiceProvider::class,
```

Default fallback order is: redis, memcached, database, cookie, file, array

If needed to change fallback order, publish vendors

```
php artisan vendor:publish --provider="Fingo\LaravelCacheFallback\CacheFallbackServiceProvider"
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Hubert Jędrzejek](https://github.com/HubertJedrzejek)
- [All Contributors](../../contributors)

License
-------

[](#license)

The Apache license Version 2.0. Please see [License File](LICENSE.md) for more information.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 53.8% 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

Every ~1052 days

Total

4

Last Release

668d ago

Major Versions

1.0.0 → 2.0.02018-02-22

2.1.0 → 8.1.0.x-dev2024-10-18

PHP version history (3 changes)1.0.0PHP ~5.6|~7.0

2.0.0PHP &gt;=7.0

8.1.0.x-devPHP ^8.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e034a2b4c63a810f72067441ec19dce7d9993a7fad0f1b27dd5734a4a2ad8070?d=identicon)[FoxxMD](/maintainers/FoxxMD)

---

Top Contributors

[![Hubert-Fingo](https://avatars.githubusercontent.com/u/3052796?v=4)](https://github.com/Hubert-Fingo "Hubert-Fingo (7 commits)")[![FoxxMD](https://avatars.githubusercontent.com/u/4663766?v=4)](https://github.com/FoxxMD "FoxxMD (5 commits)")[![jakubwrona](https://avatars.githubusercontent.com/u/7712334?v=4)](https://github.com/jakubwrona "jakubwrona (1 commits)")

---

Tags

laravelcachefallbackcache fallbackfingolaravel-cache-fallback

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fulfillment-laravel-cache-fallback/health.svg)

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

###  Alternatives

[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k9.3M74](/packages/spatie-laravel-responsecache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9922.4M146](/packages/roots-acorn)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k161.4k2](/packages/mike-bronner-laravel-model-caching)[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)[omaralalwi/lexi-translate

Laravel translation package with morph relationships and caching.

7318.8k8](/packages/omaralalwi-lexi-translate)

PHPackages © 2026

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