PHPackages                             jacklul/cachefs - 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. jacklul/cachefs

AbandonedArchivedLibrary[Caching](/categories/caching)

jacklul/cachefs
===============

Filesystem wrapper that uses PSR-16 cache interface as storage

0.1.0(8y ago)069MITPHPPHP ^5.5|^7.0

Since May 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/jacklul/cachefs)[ Packagist](https://packagist.org/packages/jacklul/cachefs)[ RSS](/packages/jacklul-cachefs/feed)WikiDiscussions master Synced 3d ago

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

CacheFS
=======

[](#cachefs)

Functional virtual filesystem that uses PSR-16 cache interface as storage, useful for testing or as persistent cache filesystem.

Based on [vector-kerr/cachefs](https://github.com/vector-kerr/cachefs).

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

[](#installation)

Install with [Composer](https://github.com/composer/composer):

```
$ composer require jacklul/cachefs
```

Usage
-----

[](#usage)

```
$memcached = new MemcachedAdapter();    // PSR-16 compatible interface
jacklul\CacheFS\CacheFS::register($memcached);

jacklul\CacheFS\CacheFS::register($memcached, 'myfilesystem');  // using custom stream name

// Write to 'text.txt' file
file_put_contents('cachefs://test.txt', 'test123');

// Create 'test' directory
mkdir('cachefs://test/');

// List root filesystem contents
print_r(scandir('cachefs://'));
```

License
-------

[](#license)

See [LICENSE](LICENSE).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

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

2921d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c5d190f1856db1e9c39d095b0eadd550475fd09d658d38c015c4631a10748f3?d=identicon)[jacklul](/maintainers/jacklul)

---

Top Contributors

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

---

Tags

cachecachefsfilesystemstoragewrapperfilesystemcachecachefs

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/jacklul-cachefs/health.svg)

```
[![Health](https://phpackages.com/badges/jacklul-cachefs/health.svg)](https://phpackages.com/packages/jacklul-cachefs)
```

###  Alternatives

[cache/filesystem-adapter

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

705.8M82](/packages/cache-filesystem-adapter)[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/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)
