PHPackages                             firehed/null-psr16 - 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. firehed/null-psr16

ActiveLibrary[Caching](/categories/caching)

firehed/null-psr16
==================

Always-offline PSR-16 cache implemention, for fallback and testing

0.1.0(4y ago)11.3k[2 PRs](https://github.com/Firehed/php-null-psr16/pulls)MITPHPPHP ^8.0

Since Jun 3Pushed 1y ago2 watchersCompare

[ Source](https://github.com/Firehed/php-null-psr16)[ Packagist](https://packagist.org/packages/firehed/null-psr16)[ RSS](/packages/firehed-null-psr16/feed)WikiDiscussions main Synced 6d ago

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

PSR-16 "null driver"
====================

[](#psr-16-null-driver)

This is a [PSR-16](https://www.php-fig.org/psr/psr-16/) implementation that always fails.

The motivation for this to exist is for fallback handling in cascading cache drivers. Rather than the application using a cache failing entirely because it can't connect to the cache, it can fall back to a non-throwing implementation like this.

Also useful for tests where you want to ensure correct non-throwing failure handling and don't want to write a mock driver.

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

[](#installation-and-usage)

Install: `composer require firehed/null-psr16`

Usage:

```
$cache = new \Firehed\Cache\NullPsr16();
// Use like any other PSR-16 implementation
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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

1809d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/354842?v=4)[Eric Stern](/maintainers/Firehed)[@Firehed](https://github.com/Firehed)

---

Top Contributors

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

---

Tags

cachepsr-16

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/firehed-null-psr16/health.svg)

```
[![Health](https://phpackages.com/badges/firehed-null-psr16/health.svg)](https://phpackages.com/packages/firehed-null-psr16)
```

###  Alternatives

[laminas/laminas-cache

Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output

1076.9M130](/packages/laminas-laminas-cache)[cache/simple-cache-bridge

A PSR-6 bridge to PSR-16. This will make any PSR-6 cache compatible with SimpleCache.

423.1M27](/packages/cache-simple-cache-bridge)[sabre/cache

Simple cache abstraction layer implementing PSR-16

541.2M3](/packages/sabre-cache)[chillerlan/php-cache

A psr/simple-cache implementation. PHP 8.1+

15211.8k11](/packages/chillerlan-php-cache)[webarchitect609/bitrix-cache

Comfortable fluent interface for Bitrix cache. Anti-stampede cache protection.

2831.2k8](/packages/webarchitect609-bitrix-cache)[codeigniter4/cache

PSR-6 and PSR-16 Cache Adapters for CodeIgniter 4

1320.1k](/packages/codeigniter4-cache)

PHPackages © 2026

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