PHPackages                             phpfit/cache-file - 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. phpfit/cache-file

ActiveLibrary[Caching](/categories/caching)

phpfit/cache-file
=================

PSR-16 Implementation of simple cache usinig file

1.0.0(10mo ago)04MITPHP

Since Aug 15Pushed 10mo agoCompare

[ Source](https://github.com/phpfit/cache-file)[ Packagist](https://packagist.org/packages/phpfit/cache-file)[ RSS](/packages/phpfit-cache-file/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (2)Used By (0)

phpfit/cache-file
=================

[](#phpfitcache-file)

PSR-16 Implementation of simple cache usinig file

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

[](#installation)

```
composer require phpfit/cache-file
```

Usage
-----

[](#usage)

```
use PhpFit\CacheFile\File;

$cache = new File(__DIR__ . '/cache');

// Set cache for 12 second
$cache->set('key', 'value', 12);

$value = $cache->get('key', 'default');
```

License
-------

[](#license)

The phpfit/cache-file library is licensed under the MIT license. See [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance53

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

323d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5726035?v=4)[Iqbal Fauzi](/maintainers/iqbalfn)[@iqbalfn](https://github.com/iqbalfn)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/phpfit-cache-file/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[illuminate/contracts

The Illuminate Contracts package.

706130.3M13.3k](/packages/illuminate-contracts)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.1M159](/packages/algolia-algoliasearch-client-php)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[flow-php/etl

PHP ETL - Extract Transform Load - Abstraction

378604.0k104](/packages/flow-php-etl)

PHPackages © 2026

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