Apix-SimpleCache provides PSR-16 to Apix-Cache permitting easy caching and invalidation...

Programming language: PHP
License: GNU General Public License v3.0 or later
Tags: Database     Caching     Cache     Redis     MySQL     Apc     Sqlite     Postgres     Memcached     Apcu     Psr-cache     Psr-6     SQL     Predis     Sessions     Psr6     psr-16     Tagging     Fpm    
Latest version: v1.0.0

Apix-SimpleCache alternatives and similar libraries

Based on the "Caching" category.
Alternatively, view Apix-SimpleCache alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Apix-SimpleCache or a related project?

Add another 'Caching' Library


Apix-SimpleCache, the PSR-16 extension to [Apix-Cache](//github.com/apix/cache)

Latest Stable Version Build Status Code Quality Code Coverage License Build Status

Apix-SimpleCache provides PSR-16 to [Apix-Cache](//github.com/apix/cache) permitting easy caching and invalidation...

  • Fully unit-tested and compliant with PSR-1, PSR-2, PSR-4 and PSR-16.
  • Continuously integrated with PHP 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3 and HHVM.

[Pull requests](//github.com/apix/simple-cache/blob/master/.github/CONTRIBUTING.md) and ★ Stars are always welcome. For bugs and feature request, please [create an issue](//github.com/apix/simple-cache/issues/new).

Basic usage

  use Apix\SimpleCache;

  $client = new \Redis();
  #$client = new \PDO('sqlite:...');    // Any supported client object e.g. Memcached, MongoClient, ...
  #$client = new Cache\Files($options); // or one that implements Apix\Cache\Adapter
  #$client = 'apc';                     // or an adapter name (string) e.g. "APC", "Runtime"
  #$client = new MyArrayObject();       // or even a plain array() or \ArrayObject.

  $cache = SimpleCache\Factory::getPool($client);           // without tagging support
  #$cache = SimpleCache\Factory::getTaggablePool($client);  // with tagging

  if ( !$cache->has('wibble_id') ) {
    $data = compute_slow_and_expensive_stuff();
    $cache->set('wibble_id', $data);

  return $cache->get('wibble_id');


This project adheres to Semantic Versioning and can be installed using composer:

$ composer require apix/simple-cache:1.0.*

All notable changes to this project are documented in its [CHANGELOG](CHANGELOG.md).


This work is licensed under the New BSD license -- see the [LICENSE](LICENSE.txt) for the full details.Copyright (c) 2010-2017 Franck Cassedanne

*Note that all licence references and agreements mentioned in the Apix-SimpleCache README section above are relevant to that project's source code only.