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

AbandonedLibrary[Caching](/categories/caching)

quellabs/cache
==============

High-performance caching component for the Quellabs ecosystem

1.0.4(4mo ago)011MITPHPPHP ^8.3

Since Jul 24Pushed 4mo agoCompare

[ Source](https://github.com/quellabs/cache)[ Packagist](https://packagist.org/packages/quellabs/cache)[ Docs](https://github.com/quellabs/cache)[ RSS](/packages/quellabs-cache/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (6)Used By (0)

Cache Components
================

[](#cache-components)

A robust, production-ready caching system for PHP applications with multiple storage backends and comprehensive concurrency protection.

Features
--------

[](#features)

- **Multiple Cache Drivers**: File-based, Redis, and Memcached implementations
- **Thread-Safe Operations**: Comprehensive concurrency protection across all drivers
- **Dependency Injection**: Automatic cache provider resolution with annotation support
- **Namespace Support**: Context-aware caching with namespace isolation
- **Retry Logic**: Built-in resilience against transient failures
- **Statistics &amp; Monitoring**: Performance metrics and cache hit ratio tracking
- **AOP Integration**: Seamless aspect-oriented programming support

Installation
------------

[](#installation)

Ensure required PHP extensions are installed based on your chosen cache driver:

```
# For Redis support
sudo apt-get install php-redis

# For Memcached support
sudo apt-get install php-memcached

# File cache requires no additional extensions
```

Configuration
-------------

[](#configuration)

### Dependency Injection Configuration

[](#dependency-injection-configuration)

When using the cache through dependency injection, create a `config/cache.php` file in your project root. The injector will automatically load and process the correct options.

```
