PHPackages                             attogram/filesystem-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. attogram/filesystem-cache

ActiveLibrary[Caching](/categories/caching)

attogram/filesystem-cache
=========================

Filesystem-based cache system for PHP 7

20[1 issues](https://github.com/attogram/filesystem-cache/issues)PHP

Since Feb 15Pushed 6y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

filesystem-cache
================

[](#filesystem-cache)

Filesystem-based cache system for PHP 7.

- Repository:
- Packagist:
- CodeClimate: [![Maintainability](https://camo.githubusercontent.com/528eb4bc8729c72f9c6375e9ade06d031dfaa2cc2a9b6f10417f7fcf77c7c1b0/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f37346163633263383164623234636338666237352f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/attogram/filesystem-cache/maintainability)
- Travis-CI: [![Build Status](https://camo.githubusercontent.com/36e2f92ab54b66ce8c6636b5b55664619515a31f6992ebb6855fecef35bd010f/68747470733a2f2f7472617669732d63692e6f72672f6174746f6772616d2f66696c6573797374656d2d63616368652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/attogram/filesystem-cache)

Usage
-----

[](#usage)

```
use Attogram\Filesystem\Cache;

$cacheDirectory = '../cache/'; // must include trailing slash

$cache = new Cache($cacheDirectory);
```

Functions
---------

[](#functions)

- public function exists(string $key): bool
- public function get(string $key)
- public function set(string $key, string $value): bool
- public function delete(string $key): bool
- public function age(string $key): int

Similar projects
----------------

[](#similar-projects)

-
-
-
-
-
-
-
-
-
- ...

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d9bd73aa2ddae66abc8ba1f32e093fc66e7b7b7fa4f35d6b0ec087cdd341fa3?d=identicon)[attogram](/maintainers/attogram)

---

Top Contributors

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

---

Tags

cachecaching-libraryfilesystem-cachephp7

### Embed Badge

![Health badge](/badges/attogram-filesystem-cache/health.svg)

```
[![Health](https://phpackages.com/badges/attogram-filesystem-cache/health.svg)](https://phpackages.com/packages/attogram-filesystem-cache)
```

###  Alternatives

[predis/predis

A flexible and feature-complete Redis/Valkey client for PHP.

7.8k305.7M2.4k](/packages/predis-predis)[snc/redis-bundle

A Redis bundle for Symfony

1.0k39.4M67](/packages/snc-redis-bundle)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[illuminate/cache

The Illuminate Cache package.

12835.6M1.4k](/packages/illuminate-cache)[colinmollenhour/php-redis-session-abstract

A Redis-based session handler with optimistic locking

6325.6M14](/packages/colinmollenhour-php-redis-session-abstract)

PHPackages © 2026

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