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 2w 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 26% 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

2968d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8418678?v=4)[Jack'lul](/maintainers/jacklul)[@jacklul](https://github.com/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.9M88](/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

1067.2M146](/packages/laminas-laminas-cache)[sabre/cache

Simple cache abstraction layer implementing PSR-16

551.3M4](/packages/sabre-cache)[voku/simple-cache

Simple Cache library

322.6M9](/packages/voku-simple-cache)[graham-campbell/bounded-cache

A Bounded TTL PSR-16 Cache Implementation

112.1M10](/packages/graham-campbell-bounded-cache)[mmamedov/page-cache

PageCache is a lightweight PHP library for full page cache. It uses various strategies to differentiate among separate versions of the same page.

7813.1k1](/packages/mmamedov-page-cache)

PHPackages © 2026

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