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

ActiveLibrary[Caching](/categories/caching)

philasearch/cache
=================

PHP Website Caching Library for HTML and Objects

1.2.1(3y ago)023.2k↓66.7%PHP

Since Sep 9Pushed 3y agoCompare

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

READMEChangelogDependencies (5)Versions (23)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/7f896db87c76aa1b458fa6ad55feb3136437b8eb8b5901ee8eef48e21030605e/68747470733a2f2f706f7365722e707567782e6f72672f7068696c617365617263682f63616368652f76657273696f6e2e737667)](https://packagist.org/packages/philasearch/cache)[![Total Downloads](https://camo.githubusercontent.com/340a42d843461fceef6c1a867b238eacd903760356a9b95526a11c6443ad1feb/68747470733a2f2f706f7365722e707567782e6f72672f7068696c617365617263682f63616368652f646f776e6c6f6164732e737667)](https://packagist.org/packages/philasearch/cache)[![Build Status](https://camo.githubusercontent.com/59e98113a4027d6c700befc4cdd5e82191689af2f7875aa500ac09de35cdd13a/68747470733a2f2f7472617669732d63692e6f72672f7068696c617365617263682f7068702d63616368652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/philasearch/php-cache)

PHP Cache
=========

[](#php-cache)

PHP Cache is a simple caching library for HTML and objects.

Installing
----------

[](#installing)

Add the following to your composer.json

```
{
    "require": {
        "philasearch/cache": "1.1.*"
    }
}
```

Setup
-----

[](#setup)

**Notice:** *I built this library agnostic to different cache providers, however, since I mainly use redis, redis is the only supported cache.*

```
