PHPackages                             zoocache/zoocache - 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. [Database &amp; ORM](/categories/database)
4. /
5. zoocache/zoocache

ActiveLibrary[Database &amp; ORM](/categories/database)

zoocache/zoocache
=================

Simple output caching for your app.

v0.6.2(14y ago)637MITPHPPHP &gt;=5.3

Since Jun 18Pushed 14y ago1 watchersCompare

[ Source](https://github.com/marcelklehr/zoocache)[ Packagist](https://packagist.org/packages/zoocache/zoocache)[ Docs](http://github.com/marcelklehr/zoocache)[ RSS](/packages/zoocache-zoocache/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (4)Used By (0)

Caching made easy
=================

[](#caching-made-easy)

Zoocache is a caching library utilising various storage mediums (Memcached, MySQL and File System), intended to cache expensive task in your application or website (e.g. database queries).

Additionally Zoocache provides a throw-in caching engine, that uses output buffering to easily add a caching layer to any existing website.

To be usable in all environments, Zoocache extracts storage operations into various storage drivers, so that it's possible to run Zoocache with the database of your choice. Additionally, this makes it very easy to add support for a new storage medium.

### Requirements

[](#requirements)

- `PHP 5.3` or newer
- zlib` for gzip compression (optional)

### Installation

[](#installation)

1. Install Zoocache through [composer](http://getcomposer.org/) using `'zoocache/zoocache': '*'` as a [dependency](http://getcomposer.org/doc/00-intro.md#declaring-dependencies) in your `composer.json`.
2. Edit `vendor/zoocache/zoocache/config.php` and set the options for the storage medium of your choice.
3. Load `vendor/zoocache/zoocache/install.php` with your browser or run it on the command line using `php vendor/zoocache/zoocache/install.php`.
4. Set up a php file in your app directory and include `vendor/zoocache/zoocache/test.php`. Now, load the new file with your browser to check whether zoocache is working.

### Links

[](#links)

- Documentation can be found in the [wiki](https://github.com/marcelklehr/zoocache/wiki)
- Submit any questions, bugs or suggestions to the [Issue Tracker](https://github.com/marcelklehr/zoocache/issues)

### License

[](#license)

Copyright 2011-2012 by Marcel Klehr
MIT License.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Every ~1 days

Total

3

Last Release

5124d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/986878?v=4)[Marcel Klehr](/maintainers/marcelklehr)[@marcelklehr](https://github.com/marcelklehr)

---

Top Contributors

[![marcelklehr](https://avatars.githubusercontent.com/u/986878?v=4)](https://github.com/marcelklehr "marcelklehr (37 commits)")

---

Tags

mysqlcachecachingmemcachedBufferoutputabc

### Embed Badge

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

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

###  Alternatives

[matthiasmullie/scrapbook

Scrapbook is a PHP cache library, with adapters for e.g. Memcached, Redis, Couchbase, APCu, SQL and additional capabilities (e.g. transactions, stampede protection) built on top.

3232.7M42](/packages/matthiasmullie-scrapbook)[phpfastcache/phpfastcache

PHP Abstract Cache Class - Reduce your database call using cache system. Phpfastcache handles a lot of drivers such as Apc(u), Cassandra, CouchBase, Couchdb, Dynamodb, Firestore, Mongodb, Files, (P)redis, Leveldb, Memcache(d), Ravendb, Ssdb, Sqlite, Wincache, Xcache, Zend Data Cache.

2.4k5.2M137](/packages/phpfastcache-phpfastcache)[apix/cache

A thin PSR-6 cache wrapper with a generic interface to various caching backends emphasising cache taggging and indexing to Redis, Memcached, PDO/SQL, APC and other adapters.

114546.3k6](/packages/apix-cache)[malkusch/lock

Mutex library for exclusive code execution.

9479.9M28](/packages/malkusch-lock)[nette/caching

⏱ Nette Caching: library with easy-to-use API and many cache backends.

43719.1M394](/packages/nette-caching)[desarrolla2/cache

Provides an cache interface for several adapters Apc, Apcu, File, Mongo, Memcache, Memcached, Mysql, Mongo, Redis is supported.

1342.5M48](/packages/desarrolla2-cache)

PHPackages © 2026

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