PHPackages                             there4/slim-stash-middleware - 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. there4/slim-stash-middleware

ActiveLibrary[Caching](/categories/caching)

there4/slim-stash-middleware
============================

Slim Stash Cache Middleware

v0.1.2(11y ago)9541MITPHP

Since Oct 22Pushed 11y ago13 watchersCompare

[ Source](https://github.com/there4/slim-stash-middleware)[ Packagist](https://packagist.org/packages/there4/slim-stash-middleware)[ RSS](/packages/there4-slim-stash-middleware/feed)WikiDiscussions master Synced 4w ago

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

Slim Stash Cache Middleware [![Build Status](https://camo.githubusercontent.com/dd11e05e7fa95793d73d816c9ba5608cb828bec205ae37aba4408cafba519ea2/68747470733a2f2f7472617669732d63692e6f72672f7468657265342f736c696d2d73746173682d6d6964646c65776172652e737667)](https://travis-ci.org/there4/slim-stash-middleware)
===================================================================================================================================================================================================================================================================================================================

[](#slim-stash-cache-middleware-)

> Caching middleware layer for Slim using Stash

About
-----

[](#about)

A simple middleware layer for Slim that provides a caching mechanism for endpoints.

Example Setup
-------------

[](#example-setup)

Here is an example of the middleware setup. It's using a config setting to enable the cache.

```
