PHPackages                             lmammino/guzzle-apcu-fs-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. [HTTP &amp; Networking](/categories/http)
4. /
5. lmammino/guzzle-apcu-fs-cache

ActiveLibrary[HTTP &amp; Networking](/categories/http)

lmammino/guzzle-apcu-fs-cache
=============================

A zero config cache storage for guzzle-cache-middleware that tries to cache on Apcu and fallbacks to filesystem

v1.0.0(6y ago)2291[2 PRs](https://github.com/lmammino/guzzle-apcu-fs-cache/pulls)MITPHPPHP &gt;=5.6

Since Apr 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/lmammino/guzzle-apcu-fs-cache)[ Packagist](https://packagist.org/packages/lmammino/guzzle-apcu-fs-cache)[ RSS](/packages/lmammino-guzzle-apcu-fs-cache/feed)WikiDiscussions master Synced 2d ago

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

guzzle-apcu-fs-cache
====================

[](#guzzle-apcu-fs-cache)

A zero config cache storage for guzzle-cache-middleware that tries to cache on Apcu and fallbacks to filesystem.

[![Tests](https://github.com/lmammino/guzzle-apcu-fs-cache/workflows/Tests/badge.svg)](https://github.com/lmammino/guzzle-apcu-fs-cache/workflows/Tests/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/9abc2cef90a4cc2f30fa21c32b5a25faa375330959b8409afd11b4d1fc8265c1/68747470733a2f2f706f7365722e707567782e6f72672f6c6d616d6d696e6f2f67757a7a6c652d617063752d66732d63616368652f762f737461626c653f)](https://packagist.org/packages/lmammino/guzzle-apcu-fs-cache)[![Total Downloads](https://camo.githubusercontent.com/35ff07a479cfa767c4f0f3d4f310fe97e61c68edd363febff56eee30876e5105/68747470733a2f2f706f7365722e707567782e6f72672f6c6d616d6d696e6f2f67757a7a6c652d617063752d66732d63616368652f646f776e6c6f6164733f)](https://packagist.org/packages/lmammino/guzzle-apcu-fs-cache)[![Latest Unstable Version](https://camo.githubusercontent.com/b03c8df800e6068d4da1cb719683dd0ea6d58d13a89349961076f605615df73c/68747470733a2f2f706f7365722e707567782e6f72672f6c6d616d6d696e6f2f67757a7a6c652d617063752d66732d63616368652f762f756e737461626c653f)](https://packagist.org/packages/lmammino/guzzle-apcu-fs-cache)[![License](https://camo.githubusercontent.com/f2afa3aeb52fe6af0023f6e1a3767b7f482d5a7a79675c31ac92dd31303c4956/68747470733a2f2f706f7365722e707567782e6f72672f6c6d616d6d696e6f2f67757a7a6c652d617063752d66732d63616368652f6c6963656e73653f)](https://packagist.org/packages/lmammino/guzzle-apcu-fs-cache)[![composer.lock](https://camo.githubusercontent.com/39c533d54e48c762d2d5b7b53c571c4179f0a4b4af266758f1d8c983d4c863ce/68747470733a2f2f706f7365722e707567782e6f72672f6c6d616d6d696e6f2f67757a7a6c652d617063752d66732d63616368652f636f6d706f7365726c6f636b3f)](https://packagist.org/packages/lmammino/guzzle-apcu-fs-cache)

Install
-------

[](#install)

Requires PHP 5.5+.

Using composer:

```
composer require lmammino/guzzle-apcu-fs-cache
```

Usage
-----

[](#usage)

This is an example of how you can use this storage engine with [Guzzle](https://guzzlephp.org) and [GuzzleCacheMiddleware](https://github.com/Kevinrob/guzzle-cache-middleware):

```
