oito/php-micro-plugin-stash

Stash plugin for Oito PHP microframework

Installs: 1

Dependents: 0

Stars: 1

Watchers: 1

Language: PHP

v1.0.0 2014-03-01 22:49 UTC

README

Uses the libraries

About

This plugin enables you to use the Stash library to cache data.

Usage

<?php

$app = new \Oito\Micro\Application();

// the plugin will be available as: "cache"
$app->addPlugin(new \Oito\Micro\Plugin\Stash());

$app->cache->getItem('...');