PHPackages                             blainesch/li3\_memoize - 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. blainesch/li3\_memoize

ActiveLithium-library[Caching](/categories/caching)

blainesch/li3\_memoize
======================

Will aid in the caching of expensive helper/model instance methods.

27PHP

Since Nov 8Pushed 13y ago1 watchersCompare

[ Source](https://github.com/BlaineSch/li3_memoize)[ Packagist](https://packagist.org/packages/blainesch/li3_memoize)[ RSS](/packages/blainesch-li3-memoize/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Helper/Model caching plugin for [Lithium PHP](http://lithify.me)
================================================================

[](#helpermodel-caching-plugin-for-lithium-php)

Will aid in the caching of expensive helper/model instance methods.

[![Build Status](https://camo.githubusercontent.com/81d1ebe63c5e846a8f430da4c29d4b6d5d7dd479a3ad390cb2bf126a3c037fa6/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f426c61696e655363682f6c69335f6d656d6f697a652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/BlaineSch/li3_memoize)

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

[](#installation)

### Composer

[](#composer)

```
{
    "require": {
        ...
        "blainesch/li3_memoize": "dev-master"
        ...
    }
}
```

```
php composer.phar install
```

### Submodule

[](#submodule)

```
git submodule add git://github.com/BlaineSch/li3_memoize.git libraries/li3_memoize
```

### Clone Directly

[](#clone-directly)

```
git clone git://github.com/BlaineSch/li3_memoize.git libraries/li3_memoize
```

Usage
-----

[](#usage)

### Load the plugin

[](#load-the-plugin)

Add the plugin to be loaded with Lithium's autoload magic

In `app/config/bootstrap/libraries.php` add:

```
