BagOStuff

Wikimedia BagOStuff (or ObjectCache) is a PHP library for accessing caching services through a common interface. This is originaly developed for use with Memcached, and continues to be its main use case. It also provides implementations for Redis, php-apcu, and SQL stores (using the Wikimedia Rdbms library).