psr/cache
PSR-6 caching interfaces for PHP. Defines CacheItemPoolInterface and CacheItemInterface contracts for interoperable caching, without providing an implementation. Use with any PSR-6 compatible cache library (see Packagist providers).
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| psr/link | 0.92 | PSR-13 link definition interfaces for PHP. Provides standard LinkInterface and LinkProviderInterface contracts used to describe and expose web links. Not an implementation—interfaces only; use a compatible psr/link-implementation package. | 2,488 | 2,504 | 13 | 3M | 0 | 12.8 | 42.6 | MIT | — | |
| chillerlan/php-cache | 0.92 | A lightweight PSR-16 caching library for PHP offering pluggable storage adapters for Memcached, Redis, filesystem, and in-memory caches. Supports TTLs, namespacing, and simple key-value storage with minimal setup. | 15 | — | 3 | — | 0 | 0.2 | — | MIT | 2 years ago |
|
| spiral/cache | 0.91 | Spiral Cache provides a simple caching abstraction for Spiral/PHP apps, with support for multiple storage backends and configurable cache pools. Use it to speed up repeated operations, cache computed values, and centralize cache access and invalidation. | 0 | 0 | 0 | 4K | 0 | 0.0 | 49.4 | MIT | — | |
| einar-hansen/laravel-psr-6-cache | 0.91 | Laravel package that bridges Laravel’s cache system with PSR-6. Use Laravel’s cache stores through a PSR-6 CacheItemPoolInterface for interoperability with PSR-compliant libraries, with simple configuration and drop-in integration. | 1 | 1 | 1 | 4K | 0 | 0.6 | 45.7 | MIT | 4 years ago | |
| psx/cache | 0.91 | A caching component for the PSX framework that provides a simple, consistent API for storing and retrieving cached data across different backends, helping PHP applications reduce repeated work and improve response times. | 2 | 2 | 1 | 456 | 0 | 0.1 | 30.2 | Apache-2.0 | — | |
| gpupo/cache | 0.91 | gpupo/cache is a lightweight PHP cache helper with a simple API for storing and retrieving values, aimed at reducing repeated computations and speeding up applications. Suitable for small projects or as a base for custom cache adapters. | 2 | 3 | 2 | 137 | 0 | 1.2 | 16.3 | NOASSERTION | 9 years ago | |
| cache/adapter-common | 0.91 | Shared classes and interfaces for the PHP Cache organization’s PSR-6 cache pools. Provides common building blocks used across adapters, with support for features like tagging and cache hierarchies via the shared php-cache documentation. | 110 | 111 | 30 | 272K | 0 | 26.4 | 54.9 | MIT | 2 months ago | |
| cache/adapter-bundle | 0.91 | — | 30 | 30 | 25 | 2K | 0 | 24.3 | 28.7 | MIT | 2 months ago | |
| cache/integration-tests | 0.91 | Integration test suite for validating PSR-6 cache pools, taggable cache pools, and PSR-16 simple caches against PHP-FIG rules. Install as a dev dependency and extend the provided PHPUnit base tests to verify your cache implementation. | 41 | 41 | 36 | 66K | 1 | 24.5 | 50.2 | MIT | 2 months ago | |
| beste/in-memory-cache | 0.90 | A PSR-6 in-memory cache for PHP that works as a sensible default implementation and in tests. It supports PSR-20 clocks, including frozen clocks, so you can test time-based expiry without a real cache server. Simple, fast, and dependency-free. Install with composer require beste/in-memory-cache. | 26 | 26 | 0 | 2M | 0 | 18.9 | 63.2 | MIT | 2 months ago | |
| desarrolla2/cache | 0.90 | Immutable PSR-16 simple cache library for PHP with multiple adapters (APCu, File, Memcached, Redis, MongoDB, etc.) plus a Chain adapter. Supports configurable options like default TTL via withOption/withOptions. Aims to be complete, correct, and fast. | 134 | 148 | 37 | 16K | 0 | 2.4 | 28.6 | MIT | 7 years ago | |
| psr/log | 0.90 | PSR-3 logging interfaces for PHP. Provides LoggerInterface, traits, and related classes to standardize how libraries accept and emit log messages. Not a logger implementation—use it to type-hint a logger or build your own PSR-3 compliant logger. | 10,413 | 10,601 | 194 | 30M | 0 | 34.6 | 47.9 | MIT | 2 years ago | |
| cache/redis-adapter | 0.90 | PSR-6 cache pool backed by Redis using the PhpRedis extension. Part of the PHP Cache ecosystem, with shared docs for advanced features like tagging and hierarchy. Supports Redis, RedisArray, and RedisCluster clients. | 53 | 58 | 15 | 50K | 0 | 24.1 | 48.2 | MIT | 2 months ago | |
| psr/http-message | 0.90 | PSR-7 HTTP message interfaces for PHP (Request/Response, Streams, URIs, UploadedFiles). Defines common contracts only—no concrete implementation. Ideal for framework-agnostic middleware and libraries needing interoperable HTTP message types. | 7,026 | 7,116 | 185 | 22M | 0 | 37.7 | 56.3 | MIT | 3 years ago | |
| byjg/cache-engine | 0.90 | byjg/cache-engine is a flexible PHP caching library with a consistent API and pluggable backends like Redis, Memcached, APCu, files, and databases. It makes adding portable, fast caching to PHP and Laravel applications straightforward. | 11 | 11 | 4 | 3K | 0 | 6.3 | 33.8 | MIT | 8 months ago | |
| php-extended/php-simple-cache-filesystem | 0.90 | A filesystem-backed PSR-16 simple cache implementation for PHP. Store and retrieve cache items as files with TTL support, offering a lightweight, dependency-free way to add persistent caching to Laravel or any PHP project. | 0 | 1 | — | 341 | — | 0.0 | 35.0 | — | — | |
| cache/psr-6-doctrine-bridge | 0.90 | Adapts any PSR-6 cache pool to Doctrine's legacy Cache interface. Install via Composer, then use contains, fetch, save and delete as usual; falls back to SHA-256 keys when the pool rejects a key. Includes getCachePool access. | 15 | 15 | 4 | 9K | 0 | 19.7 | 43.5 | MIT | 2 months ago | |
| madewithlove/illuminate-psr-cache-bridge | 0.89 | Bridges Laravel's Illuminate cache with PSR-6, letting you use any PSR-6 cache pool as a Laravel cache store or expose Laravel's cache repository as a PSR-6 pool. Drop-in adapters make cache backends portable across Laravel apps and PSR-compatible libraries. | 84 | 85 | 8 | 3K | 1 | 1.1 | 21.3 | MIT | 7 years ago | |
| cache/array-adapter | 0.89 | In-memory PSR-6 and PSR-16 cache pool for tests and short-lived scripts, with tags, hierarchical keys, and an optional item limit. Values last only for the current PHP process. | 56 | 57 | 15 | 74K | 0 | 21.5 | 49.3 | MIT | 2 months ago | |
| cache/chain-adapter | 0.89 | PSR-6 cache pool chain adapter that combines multiple cache pools (e.g., APCu + Redis) into a single CachePoolChain. Part of PHP-Cache, with optional features like tagging and hierarchy via shared docs. Install with composer and use with minimal setup. | 11 | 11 | 6 | 6K | 0 | 23.6 | 43.2 | MIT | 2 months ago |
How can I help you explore Laravel packages today?