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

ActiveLibrary[Caching](/categories/caching)

lukaszaleckas/laravel-fallback-cache
====================================

v1.0.0(3y ago)06.1k↓59%3[2 issues](https://github.com/lukaszaleckas/laravel-fallback-cache/issues)[2 PRs](https://github.com/lukaszaleckas/laravel-fallback-cache/pulls)PHPPHP ^7.4|^8.0

Since Mar 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/lukaszaleckas/laravel-fallback-cache)[ Packagist](https://packagist.org/packages/lukaszaleckas/laravel-fallback-cache)[ RSS](/packages/lukaszaleckas-laravel-fallback-cache/feed)WikiDiscussions main Synced 2d ago

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

Laravel Fallback Cache
======================

[](#laravel-fallback-cache)

This simple package aims to handle cache store downtimes.

Let's say your default cache driver is redis and you experience it's downtime. Your whole app would be down because of that.

This package tries retrieving a value from cache store and if exception is thrown, switches cache driver / store to a one specified in config.

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

[](#installation)

1. Run:

```
composer require lukaszaleckas/laravel-fallback-cache

```

This package does not automatically register service provider, since you might be using cache in other providers. So you need to register it in your application's `app.php`:

```
LaravelFallbackCache\FallbackCacheServiceProvider::class
```

**Note:** if you are using cache in other providers, register this one before them.

2. Publish `fallback-cache.php` config file:

```
    php artisan vendor:publish --tag=fallback-cache

```

That's it!

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

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

1198d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/30416654c84b25a433b4c1c5360c8fac347b923247750b19a0310e45dc4aa5f4?d=identicon)[lukaszaleckas](/maintainers/lukaszaleckas)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3416.9k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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