silviooosilva / cacheer-php
CacheerPHP is a minimalist package for caching in PHP, offering a simple interface for storing and retrieving cached data using multiple backends.
v6.0.0
2026-10-11 21:03 UTC
Requires
- php: >=8.3
- psr/cache: ^3.0
- psr/event-dispatcher: ^1.0
- psr/log: ^3.0
- psr/simple-cache: ^3.0
Requires (Dev)
- ext-openssl: *
- ext-pdo: *
- ext-zlib: *
- brianium/paratest: ^7.11.2 <7.26.1
- friendsofphp/php-cs-fixer: ^3.94
- pestphp/pest: ^4.0 || ^5.0
- phpstan/phpstan: ^2.1
- predis/predis: ^2.3
Suggests
- ext-openssl: Enable authenticated AES-256-GCM encryption of cached values.
- ext-pdo: Use the database cache driver (SQLite, MySQL, MariaDB, or PostgreSQL).
- ext-redis: Use the Redis cache driver via the native phpredis extension.
- ext-zlib: Enable gzip compression of cached values.
- predis/predis: Use the Redis cache driver over TCP (or install the phpredis extension).
Provides
None
Conflicts
None
Replaces
None
- 6.x-dev
- v6.0.0
- v6.0.0-RC1
- 5.x-dev
- 5.2.0
- 5.1.0
- v5.0.4
- v5.0.3
- v5.0.2
- v5.0.1
- v5.0.0
- v4.7.7
- v4.7.6
- v4.7.5
- v4.7.3
- v4.7.2
- v4.7.0
- v4.6.4
- v4.6.2
- v4.6.1
- v4.6.0
- v4.5.0
- v4.4.1
- v4.4.0
- v4.3.0
- v4.2.0
- v4.1.1
- v4.1.0
- v4.0.3
- v4.0.2
- v4.0.0
- v3.7.0
- v3.6.1
- v3.6.0
- v3.5.2
- v3.5.1
- v3.5.0
- v3.4.4
- v3.4.2
- v3.4.1
- v3.4.0
- v3.3.0
- v3.2.0
- v3.1.1
- v3.1.0
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.3.1
- v2.3.0
- v2.2.1
- v2.2.0
- v2.1.0
- v2.0.0
- v1.5.0
- v1.4.1
- v1.4.0
- v1.3.0
- v1.2.0
- v1.1.0
- v1.0.0
- dev-rfc-monitor-001/pr-2-telemetry-context
- dev-evidence/rfc-005
- dev-evidence/week-2
- dev-docs/v6-presentation-and-onboarding
This package is auto-updated.
Last update: 2026-10-23 21:16:16 UTC
README
About CacheerPHP
CacheerPHP is a framework-independent cache library for PHP. It provides one API for local and shared caches, with optional monitoring to help you understand how your cache behaves.
- File, database, Redis, and in-memory stores.
- Scoped invalidation and tags.
- Stampede protection and stale-while-revalidate.
- Tiered caching and automatic failover.
Documentation
See the documentation for installation, guides, and the API reference. Also available in Português.
Contributing
Contributions are welcome. Read the contribution guide to get started.
License
CacheerPHP is open-source software licensed under the MIT license.