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/simple-cache | 0.86 | 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,090 | 8,112 | 54 | 13M | 0 | 49.0 | 53.9 | MIT | 4 years ago | |
| doctrine/cache | 0.85 | Doctrine Cache is a legacy cache component extracted from Doctrine Common, offering multiple cache drivers and interfaces used across Doctrine projects. Note: the library is deprecated and no longer maintained; prefer a PSR-6 or PSR-16 cache instead. | 7,879 | 7,973 | 213 | 5M | 1 | 60.6 | 45.7 | MIT | 3 years ago | |
| cache/adapter-common | 0.85 | 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 | 28 | 345K | 0 | 26.3 | 56.8 | MIT | 4 years ago | |
| spiral/cache | 0.85 | 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 | 1K | 0 | 0.0 | 42.7 | MIT | — | |
| phpfastcache/phpfastcache | 0.84 | Phpfastcache is a fast, driver-based PHP caching library supporting PSR-6 and PSR-16. Works with many backends (files, APCu, Redis, Memcached, etc.), offers a unified API, and includes a type-aware v9 for PHP 8+. | 2,408 | 2,454 | 448 | 93K | 4 | 55.7 | 27.8 | MIT | 11 months ago | |
| symfony/cache-contracts | 0.84 | Symfony Cache Contracts defines lightweight, PSR-friendly interfaces for cache and tag-aware caching, enabling consistent cache usage across Symfony components and third-party libraries. Use it to type-hint against stable APIs while swapping cache implementations. | 2,382 | 2,383 | 6 | 7M | 0 | 33.3 | 56.3 | MIT | 5 years ago | |
| cache/integration-tests | 0.83 | 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. | 39 | 39 | 34 | 44K | 2 | 28.2 | 49.4 | MIT | 5 years ago | |
| php-http/cache-plugin | 0.82 | PSR-6 cache plugin for HTTPlug clients. Automatically caches HTTP responses (and can serve stale on error) with configurable cache strategies, TTL, and cache key generation. Drop it into your plugin chain to cut latency and reduce repeated requests. | 249 | 250 | 17 | 674K | 7 | 29.1 | 58.0 | MIT | 4 months ago | |
| cache/tag-interop | 0.82 | Provides two interoperable interfaces that add tag support to PSR-6 caching, enabling consistent tagging and invalidation across cache implementations. Built by contributors from Symfony, PHP-Cache, and Drupal; MIT licensed and installable via Composer. | 105 | 106 | 16 | 346K | 0 | 21.9 | 57.1 | MIT | 4 years ago | |
| symfony/cache | 0.82 | Symfony Cache provides fast, low-overhead PSR-6 caching with adapters for common backends. Includes a PSR-16 bridge plus CacheInterface and TagAwareCacheInterface implementations via symfony/cache-contracts for flexible app caching. | 4,171 | 4,196 | 64 | 7M | 0 | 52.7 | 52.5 | MIT | 1 week ago | |
| matthiasmullie/scrapbook | 0.81 | Scrapbook is a PHP caching library that wraps PSR-6/PSR-16 cache backends with adapters, multi-cache fallbacks, buffering and stampede protection. Use it to add fast, resilient caching with minimal code changes across files, memory or Redis stores. | 321 | 328 | 27 | 78K | 0 | 2.4 | 32.9 | MIT | — | |
| cache/cache | 0.80 | Meta package for the PHP-Cache ecosystem: PSR-6 cache adapters and libraries (tagging, hierarchy, bundles) in one install. Useful for development and contributing, but not actively maintained—new projects should consider Symfony Cache. | 265 | 271 | 83 | 20K | 0 | 27.3 | 38.5 | MIT | 8 years ago | |
| psr/http-factory | 0.73 | PSR-17 HTTP message factory interfaces for creating requests, responses, streams, URIs, and uploaded files. This package provides only the standard interfaces (no implementation). Find compatible implementations on Packagist. | 1,887 | 1,899 | 25 | 16M | 0 | 30.8 | 63.7 | MIT | 1 year ago | |
| christian-riesen/base32 | 0.60 | RFC 4648-compliant Base32 encoder/decoder for PHP (7.2+). Simple static API to encode/decode strings, passes official test vectors, and includes unit tests. Also supports the extended Base32Hex alphabet via Base32Hex. | 133 | 134 | 30 | 589K | 3 | 25.8 | 60.5 | MIT | 5 years ago | |
| ergebnis/php-cs-fixer-config | 0.58 | Factory package for friendsofphp/php-cs-fixer configs. Provides ready-made rule sets per PHP version (5.3–8.5) and helpers to build a consistent, reusable fixer configuration for your projects. | 69 | 69 | 17 | 47K | 1 | 30.7 | 46.0 | MIT | 4 weeks ago |
How can I help you explore Laravel packages today?