PHPackages                             tenantcloud/laravel-better-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. tenantcloud/laravel-better-cache

ActiveLibrary[Caching](/categories/caching)

tenantcloud/laravel-better-cache
================================

Improvements for Laravel's cache

v2.0.0-alpha.1(1y ago)529.1k↓48%MITPHPPHP &gt;=8.3CI passing

Since Aug 29Pushed 1y ago2 watchersCompare

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

READMEChangelog (8)Dependencies (13)Versions (10)Used By (0)

Better cache for Laravel
========================

[](#better-cache-for-laravel)

Fail safe
---------

[](#fail-safe)

Laravel's implementation of cache doesn't allow failures - if your Redis dies, your app dies too. New `fail_safe` driver aims to solve this by catching and logging all exceptions and instead returning null/false as if the value was simply not found in cache:

```
// config/cache.php
[
	'fail_safe' => [
		'delegate' => [
			'driver' => 'redis',
			'connection' => 'cache',
			'lock_connection' => 'default',
		]
	]
]

// code
Cache::forever('key', 'value');
// redis died here
Cache::get('key'); // returns null and logs the exception
```

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance49

Moderate activity, may be stable

Popularity31

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~147 days

Recently: every ~181 days

Total

8

Last Release

371d ago

Major Versions

v1.0.0-alpha.7 → v2.0.0-alpha.12025-06-28

PHP version history (3 changes)v1.0.0-alpha.1PHP &gt;=8.1

v1.0.0-alpha.7PHP &gt;=8.2

v2.0.0-alpha.1PHP &gt;=8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/216426b713fa88a88c59ae755fa9c5e5e73a88fce79903c3234a9f21af8547dc?d=identicon)[oprypkhantc](/maintainers/oprypkhantc)

---

Top Contributors

[![oprypkhantc](https://avatars.githubusercontent.com/u/54406427?v=4)](https://github.com/oprypkhantc "oprypkhantc (13 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (9 commits)")[![tcmbilozub](https://avatars.githubusercontent.com/u/35073636?v=4)](https://github.com/tcmbilozub "tcmbilozub (5 commits)")[![package-sync[bot]](https://avatars.githubusercontent.com/u/35073549?v=4)](https://github.com/package-sync[bot] "package-sync[bot] (3 commits)")

---

Tags

laravelpackagephp

###  Code Quality

TestsPest

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tenantcloud-laravel-better-cache/health.svg)

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

###  Alternatives

[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M132](/packages/laravel-pulse)[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.

21111.6k](/packages/iazaran-smart-cache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[illuminate/cache

The Illuminate Cache package.

12937.0M1.8k](/packages/illuminate-cache)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)

PHPackages © 2026

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