PHPackages                             vesica/cacher - 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. vesica/cacher

AbandonedArchivedLibrary[Caching](/categories/caching)

vesica/cacher
=============

A simplified caching library built on top of php-cache

1.4(6y ago)06.4k1GPL-3.0-or-laterPHP

Since Jun 24Pushed 3y agoCompare

[ Source](https://github.com/vesica/cacher)[ Packagist](https://packagist.org/packages/vesica/cacher)[ RSS](/packages/vesica-cacher/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (6)Used By (1)

Deprecation Notice - June 2022
==============================

[](#deprecation-notice---june-2022)

As the underlying PHP Cache library is now deprecated in favour of Symfony Cache (), this library is no longer supported. Symfony cache simplifies a lot of the complexity much like this library did, and there's no good reason to maintain another one.

[![CircleCI](https://camo.githubusercontent.com/13559e16b33486543914d1d67d118dccf64b16e22b4ee6aa8d1127602a3a1976/68747470733a2f2f636972636c6563692e636f6d2f67682f7665736963612f6361636865722e7376673f7374796c653d736869656c64)](https://circleci.com/gh/vesica/cacher)[![Latest Stable Version](https://camo.githubusercontent.com/1733e411e457e26e5867bbf856f4d5f1d864b9dcbb4cfc235f8e73d1cf9e5c95/68747470733a2f2f706f7365722e707567782e6f72672f7665736963612f6361636865722f762f737461626c65)](https://packagist.org/packages/vesica/cacher)[![Total Downloads](https://camo.githubusercontent.com/c0281b846c0736c6c7bd5ddc40904d8388029c784dd7b4d04ea66eff13106dd7/68747470733a2f2f706f7365722e707567782e6f72672f7665736963612f6361636865722f646f776e6c6f616473)](https://packagist.org/packages/vesica/cacher)[![License](https://camo.githubusercontent.com/dcf40e6c158eb01193ede9ec2d08fdaedbfabf639bd20b59fb84c0029fa8d7ef/68747470733a2f2f706f7365722e707567782e6f72672f7665736963612f6361636865722f6c6963656e7365)](https://packagist.org/packages/vesica/cacher)[![Monthly Downloads](https://camo.githubusercontent.com/b72ff4df315ee039cae690f6fbc298b5abffa0818938f0b79518289b7389ed3e/68747470733a2f2f706f7365722e707567782e6f72672f7665736963612f6361636865722f642f6d6f6e74686c79)](https://packagist.org/packages/vesica/cacher)[![Daily Downloads](https://camo.githubusercontent.com/fda5067c076ebeac50e8f8891ae4f09085f18df1e479684d9e3fc948719abbdb/68747470733a2f2f706f7365722e707567782e6f72672f7665736963612f6361636865722f642f6461696c79)](https://packagist.org/packages/vesica/cacher)[![composer.lock](https://camo.githubusercontent.com/dbf4faff25c19eb4c57f0b2323bb89252fcc7569b43115fcae6e493a4b1a8c2d/68747470733a2f2f706f7365722e707567782e6f72672f7665736963612f6361636865722f636f6d706f7365726c6f636b)](https://packagist.org/packages/vesica/cacher)

Caching Made Easy
=================

[](#caching-made-easy)

This is wrapper around the PHP cache/cache library () to simplify caching with just 2 lines.

This was originally written inside  but is now used in various projects.

Install it
----------

[](#install-it)

`composer require vesica/cacher`

Use it with Redis or Memcached
------------------------------

[](#use-it-with-redis-or-memcached)

```
$cache = new \Vesica\Cacher\Redis($host, $port, $namespace);
// OR
$cache = new \Vesica\Cacher\Memcached($host, $port, $namespace);

$cache->set($key, $value);
$cache->get($key);
$cache->exists($key);

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~24 days

Total

5

Last Release

2416d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/519132d7c489d4df1d31b0e2ded301a1c4052543653a35ac17a0a090dc4ae564?d=identicon)[meezaan](/maintainers/meezaan)

---

Top Contributors

[![meezaan](https://avatars.githubusercontent.com/u/1839282?v=4)](https://github.com/meezaan "meezaan (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

memcachedphp-libraryphp7redis

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vesica-cacher/health.svg)

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

###  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)
