PHPackages                             mesavolt/simple-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. mesavolt/simple-cache

ActiveLibrary[Caching](/categories/caching)

mesavolt/simple-cache
=====================

Simple cache service.

v2.2.0(2y ago)12.5k↓100%[1 PRs](https://github.com/MesaVolt/simple-cache/pulls)MITPHPPHP &gt;=7.4CI failing

Since Jun 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/MesaVolt/simple-cache)[ Packagist](https://packagist.org/packages/mesavolt/simple-cache)[ RSS](/packages/mesavolt-simple-cache/feed)WikiDiscussions develop Synced 1mo ago

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

SimpleCache
===========

[](#simplecache)

[![Latest Stable Version](https://camo.githubusercontent.com/523d334fdced0a3a3db6902a9b2ba07cc47f551c4c80a8aecbbfbf8a1c0b709b/68747470733a2f2f706f7365722e707567782e6f72672f6d657361766f6c742f73696d706c652d63616368652f762f737461626c65)](https://packagist.org/packages/mesavolt/simple-cache)[![Build Status](https://camo.githubusercontent.com/fa2c2f7f1b1070184aa148d8ad05ffc87d630fd6d6752a18cd3b086d4de801fe/68747470733a2f2f7472617669732d63692e6f72672f4d657361566f6c742f73696d706c652d63616368652e737667)](https://travis-ci.org/MesaVolt/simple-cache)[![Coverage Status](https://camo.githubusercontent.com/6463fc12d81c67628a1d8f565f5b415c549208960d49fd4312e613874470fe1b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f4d657361566f6c742f73696d706c652d63616368652f62616467652e737667)](https://coveralls.io/github/MesaVolt/simple-cache)[![License](https://camo.githubusercontent.com/a73165ff795572cb3d5bd29f145c9de4874c3bdc86dc104b1500c35d7599a560/68747470733a2f2f706f7365722e707567782e6f72672f6d657361766f6c742f73696d706c652d63616368652f6c6963656e7365)](https://packagist.org/packages/mesavolt/simple-cache)

Simple cache system based on Symfony's Cache component. Will always return a value, fresh or from cache, depending on TTL.

Installation
============

[](#installation)

```
composer require mesavolt/simple-cache
```

Usage
=====

[](#usage)

```
