PHPackages                             cleardevice/slim-middleware-apc-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. cleardevice/slim-middleware-apc-cache

ActiveLibrary[Caching](/categories/caching)

cleardevice/slim-middleware-apc-cache
=====================================

Cache Middleware for PHP Slim 2.\* micro framework using APCu Cache with response ttl setup

0.1.0(10y ago)147MITPHP

Since Apr 24Pushed 10y ago1 watchersCompare

[ Source](https://github.com/cleardevice/SlimMiddlewareAPCCache)[ Packagist](https://packagist.org/packages/cleardevice/slim-middleware-apc-cache)[ Docs](https://github.com/cleardevice/SlimMiddlewareAPCCache)[ RSS](/packages/cleardevice-slim-middleware-apc-cache/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

SlimMiddlewareAPCCache
======================

[](#slimmiddlewareapccache)

[![Latest Stable Version](https://camo.githubusercontent.com/f478baca316cb4bbf169ef8aed95aaf32731e34caeec6c008367cd3dbe6b92d2/68747470733a2f2f706f7365722e707567782e6f72672f636c6561726465766963652f736c696d2d6d6964646c65776172652d6170632d63616368652f762f737461626c652e737667)](https://packagist.org/packages/cleardevice/slim-middleware-apc-cache)[![License](https://camo.githubusercontent.com/f02503d0cbd0d8158b81c30254a40b37c06f39677c40971fb27fb87d7e27de95/68747470733a2f2f706f7365722e707567782e6f72672f636c6561726465766963652f736c696d2d6d6964646c65776172652d6170632d63616368652f6c6963656e73652e737667)](https://github.com/cleardevice/SlimMiddlewareAPCCache/blob/master/LICENSE)

Cache Middleware for PHP [Slim 2.\* micro framework](http://www.slimframework.com/) using [APCu Cache](http://www.php.net/manual/en/book.apc.php)

Main idea from

How to Install
--------------

[](#how-to-install)

1. Update your `composer.json` to require the `cleardevice/slim-middleware-apc-cache` package.
2. Run `composer install` to add SlimAPCCache your vendor folder.

```
{
  "require": {
    "cleardevice/slim-middleware-apc-cache": "0.1.0.*"
  }
}
```

\##How to Use this Middleware

```
