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

AbandonedArchivedLibrary[Caching](/categories/caching)

hgraca/cache
============

A PHP library to handle caching.

1.1.1(9y ago)054MITPHPPHP &gt;=7.0

Since Dec 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/hgraca/php-cache)[ Packagist](https://packagist.org/packages/hgraca/cache)[ RSS](/packages/hgraca-cache/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (5)Dependencies (6)Versions (6)Used By (0)

Hgraca\\Cache
=============

[](#hgracacache)

[![Author](https://camo.githubusercontent.com/e80528a6fbd7a1766b221b1a32d700b339f6a1992a8e0a1f602d24c256c74d66/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d406867726163612d626c75652e7376673f7374796c653d666c61742d737175617265)](https://www.herbertograca.com)[![Software License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Latest Version](https://camo.githubusercontent.com/ba417833fbf5f67d3c6cff67f19e4a35d9edc8090c196269e25c0495b3bd6963/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6867726163612f7068702d63616368652e7376673f7374796c653d666c61742d737175617265)](https://github.com/hgraca/php-cache/releases)[![Total Downloads](https://camo.githubusercontent.com/3a351ca1db7de411ed80d3c75ea140ccfddbce974d3792ef3c2259ed02a2bf59/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6867726163612f63616368652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hgraca/cache)

[![Build Status](https://camo.githubusercontent.com/c3e3901e3f05c5450a61be51bfb808bfd32141a5892ce27542d7318ed7ca6427/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f6867726163612f7068702d63616368652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/hgraca/php-cache/build)[![Coverage Status](https://camo.githubusercontent.com/473291cc7df931d36241443409f25213821740ca08b624a7f42fb794e1b12f84/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6867726163612f7068702d63616368652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/hgraca/php-cache/code-structure)[![Quality Score](https://camo.githubusercontent.com/514c7465faa913ebfeac04a8371b77ded81a95f7b13b286a359ce212f91b8717/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6867726163612f7068702d63616368652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/hgraca/php-cache)

A generic PHP library for caching.

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

[](#installation)

To install the library, run the command below and you will get the latest version:

```
composer require hgraca/cache

```

Todo
----

[](#todo)

- PhpFileCache
    - Make it work for big data

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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

Every ~2 days

Total

5

Last Release

3442d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4af14428505ab93e698bb1fa7a540b0f71dbae0246b6c534f39011aaafc13717?d=identicon)[hgraca](/maintainers/hgraca)

---

Top Contributors

[![hgraca](https://avatars.githubusercontent.com/u/1809002?v=4)](https://github.com/hgraca "hgraca (15 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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