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

ActiveLibrary[Caching](/categories/caching)

digphp/psr16
============

psr16的基本实现

1.0.0(4y ago)0161GPL-3.0PHP

Since Mar 10Pushed 4y ago1 watchersCompare

[ Source](https://github.com/digphp/psr16)[ Packagist](https://packagist.org/packages/digphp/psr16)[ RSS](/packages/digphp-psr16/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

psr16
=====

[](#psr16)

psr16实现

安装
--

[](#安装)

```
composer require digphp/psr16
```

用例
--

[](#用例)

```
$cache = new \DigPHP\Psr16\NullAdapter;
$cache = new \DigPHP\Psr16\LocalAdapter('./cache');

$cache->...
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

1530d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/digphp-psr16/health.svg)](https://phpackages.com/packages/digphp-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/adapter-common

Common classes for PSR-6 adapters

11124.4M38](/packages/cache-adapter-common)[cache/filesystem-adapter

A PSR-6 cache implementation using filesystem. This implementation supports tags

705.8M82](/packages/cache-filesystem-adapter)[cache/array-adapter

A PSR-6 cache implementation using a php array. This implementation supports tags

548.3M151](/packages/cache-array-adapter)[cache/redis-adapter

A PSR-6 cache implementation using Redis (PhpRedis). This implementation supports tags

523.9M27](/packages/cache-redis-adapter)[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)

PHPackages © 2026

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