psr-discovery/cache-implementations
Discovers installed PSR-6 cache implementations at runtime and returns the first available adapter, avoiding hard dependencies in libraries/SDKs. Supports php-cache adapters and Stash, with options to prefer or manually instantiate configurable caches.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sonata-project/cache | 0.91 | Deprecated Sonata cache library providing adapters for cache backends and counters. Includes Redis (PRedis) implementations to set/get cached values and increment counters, with simple key arrays and TTL support via Composer install. | 324 | 324 | 28 | 90K | 0 | 2.3 | 23.8 | MIT | 5 years 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/cache | 0.90 | 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). | 5,174 | 5,205 | 46 | 15M | 0 | 26.4 | 47.7 | MIT | — | |
| gpupo/cache | 0.90 | 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 | |
| psr/simple-cache | 0.90 | PSR-16 Simple Cache interfaces from PHP-FIG. Defines a common API for cache implementations (get/set/delete, TTL, etc.) but provides no caching itself. Use this package to type-hint against the standard and pair with any compatible cache provider. | 8,072 | 8,087 | 56 | 25M | 0 | 29.1 | 49.8 | MIT | 5 years ago | |
| cache/adapter-common | 0.89 | 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 | |
| einar-hansen/laravel-psr-6-cache | 0.89 | 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 | |
| psr-discovery/all | 0.89 | — | 6 | 6 | 0 | 521K | 0 | 0.9 | 55.3 | MIT | 1 year ago | |
| cache/cache-bundle | 0.89 | — | 43 | 43 | 16 | 1K | 0 | 26.3 | 23.9 | MIT | 2 months ago | |
| cache/doctrine-adapter | 0.89 | This package adapts legacy Doctrine\Common\Cache implementations to PSR-6 and PSR-16, letting existing Doctrine caches work with modern cache pools. Version 3 changes the tagged-item format, so drain workers and clear the cache before upgrading or rolling back. | 13 | 15 | 2 | 22K | 0 | 19.8 | 50.4 | MIT | 2 months 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/namespaced-cache | 0.89 | A PSR-6 decorator that scopes a shared cache pool to a single namespace, so clear() invalidates only that namespace. Includes tag support, generation-key safety, and | hierarchical key deletion. | 14 | 14 | 0 | 6K | 0 | 18.6 | 40.4 | MIT | 2 months ago | |
| cache/cache | 0.89 | PHP Cache provides PSR-6 and PSR-16 cache adapters, decorators, and integration tools for PHP 8.2+. Install the aggregate package or a backend such as Redis; version 3 adds expiry-aware tag metadata, hashed filesystem keys, and reserved tag prefixes. | 266 | 272 | 79 | 15K | 0 | 22.0 | 27.6 | MIT | 2 months ago | |
| php-solution/app-cache-bundle | 0.89 | php-solution/app-cache-bundle provides application-level caching for PHP projects, with configurable cache storage and simple integration to speed up repeated work and reduce load. | 2 | 2 | 0 | 0 | 0 | 0.0 | — | — | — | |
| spiral/cache | 0.89 | 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 | — | |
| psr-discovery/event-dispatcher-implementations | 0.89 | Discovers installed PSR-14 event dispatcher implementations (Symfony, League, Yiisoft, etc.) at runtime and returns the first available instance. Ideal for libraries/SDKs to support PSR-14 without hard dependencies or user configuration. | 7 | 7 | 1 | 680K | 0 | 1.3 | 55.3 | MIT | 1 year ago | |
| cache/memcached-adapter | 0.89 | PSR-6 and PSR-16 cache pool backed by the Memcached extension, with tag and hierarchical key support, native bulk operations, and binary protocol enabled by default. | 15 | 18 | 4 | 25K | 0 | 19.5 | 50.5 | MIT | 2 months ago | |
| laminas/laminas-cache-storage-adapter-filesystem | 0.89 | Filesystem storage adapter for laminas-cache. Provides a cache backend that persists items on disk with configurable options and integration with Laminas Cache storage interfaces, suitable for local or shared filesystem caching. | 7 | 7 | 16 | 90K | 4 | 13.4 | 61.2 | BSD-3-Clause | 7 months ago | |
| fig/cache-util | 0.88 | Utilities for building PSR-6 cache libraries: traits and base classes that handle common boilerplate for cache pools and items. Includes a simple in-memory PSR-6 implementation for demos and debugging (not production-ready). | 36 | 38 | 11 | 2K | 1 | 0.6 | 22.4 | MIT | — | |
| cache/illuminate-adapter | 0.88 | This package exposes an Illuminate cache store through PSR-6 and PSR-16, with tag support and hierarchical keys. Version 2 supports Illuminate 11 through 13. Pass any Illuminate\Contracts\Cache\Store implementation to the pool constructor. | 11 | 11 | 3 | 506 | 0 | 17.9 | 25.8 | MIT | 2 months ago |
How can I help you explore Laravel packages today?