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
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| async-aws/core | AsyncAws Core provides the shared foundation for AsyncAws PHP clients: async HTTP layer, request/response handling, credentials and signing, endpoint resolution, retries, and common utilities. Use it to build lightweight, non-SDK AWS integrations in modern PHP apps. | 101 | 101 | 5 | 2M | 0 | 29.7 | 65.0 | MIT | 1 month ago | |
| aws/aws-sdk-php | AWS SDK for PHP (v3) provides a full-featured client library for calling Amazon Web Services from PHP 8.1+, including S3, DynamoDB, Glacier, and more. Install via Composer (aws/aws-sdk-php) and authenticate with AWS credentials. | 6,178 | 6,333 | 1,238 | 10M | 10 | 78.8 | 59.3 | Apache-2.0 | 18 hours ago | |
| beste/in-memory-cache | PSR-6 compliant in-memory cache for PHP—ideal as a lightweight default cache and for fast, predictable tests. Supports standard CacheItemPoolInterface behavior and optional PSR-20 clocks (e.g., frozen clocks) for time-based expiry testing. | 25 | 25 | 0 | 1M | 0 | 22.0 | 65.0 | MIT | 6 months ago | |
| cache/adapter-common | 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 | |
| cache/array-adapter | PSR-6 cache pool implemented with an in-memory PHP array. Zero configuration: just instantiate ArrayCachePool for fast, ephemeral caching in tests or single-request use. Part of the PHP Cache ecosystem with shared docs and optional features info. | 54 | 56 | 14 | 89K | 0 | 24.4 | 52.1 | MIT | 4 years ago | |
| cache/cache | 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 | |
| cache/filesystem-adapter | A PSR-6 cache adapter for Laravel/PHP using Flysystem to store cache files in a filesystem. Store, retrieve, and manage cache efficiently with filesystem-backed persistence. Supports tagging, hierarchy, and easy configuration via setFolder(). Ideal for Laravel applications needing scalable caching s... | 70 | 72 | 23 | 79K | 0 | 24.4 | 49.6 | MIT | 4 years ago | |
| cache/hierarchical-cache | PSR-6 cache pool with hierarchical keys and selective flushing. Organize cache entries like |users|:uid|followers| and invalidate whole branches (e.g., all followers) without clearing everything. Part of the PHP Cache organization. | 60 | 60 | 8 | 191K | 0 | 22.9 | 56.8 | MIT | 4 years ago | |
| cache/simple-cache-bridge | Bridge any PSR-6 cache pool to PSR-16 SimpleCache. Wrap an existing PSR-6 implementation and use the simpler PSR-16 API in your app while keeping your current cache backend. Part of the PHP-Cache ecosystem. | 42 | 43 | 6 | 75K | 0 | 22.0 | 52.7 | MIT | 4 years ago | |
| cache/tag-interop | 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 | |
| cache/taggable-cache | Adapter that makes any PSR-6 cache pool taggable. Tag related cache items and invalidate them by tag without clearing the whole cache. Part of the PHP Cache organization; works with all PHP Cache pools supporting tagging. | 35 | 36 | 4 | 12K | 0 | 24.5 | 40.8 | MIT | 4 years ago | |
| dama/doctrine-test-bundle | Symfony test bundle that speeds up Doctrine tests by reusing static DBAL connections and wrapping each test in a transaction that’s rolled back for isolation. Also provides a PSR-6 static array cache for Doctrine metadata/query caching to reduce boot time and memory. | 1,174 | 1,171 | 64 | 1M | 6 | 38.4 | 49.9 | MIT | 2 months ago | |
| doctrine/annotations | Doctrine Annotations parses and reads docblock annotations for PHP projects. Considered feature complete since PHP 8 attributes are the native replacement; this package now focuses on bugfixes and security fixes. Documentation available on doctrine-project.org. | 6,745 | 6,785 | 230 | 6M | 26 | 68.6 | 58.7 | MIT | 1 year ago | |
| doctrine/cache | 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 | |
| doctrine/dbal | Doctrine DBAL is a powerful database abstraction layer for PHP, providing a consistent API across drivers plus rich schema introspection and management tools. Ideal for building portable SQL queries, migrations, and database tooling beyond PDO. | 9,698 | 9,856 | 1,374 | 8M | 278 | 89.9 | 74.8 | MIT | 2 weeks ago | |
| doctrine/mongodb-odm | Doctrine MongoDB ODM is an object document mapper for PHP that brings Doctrine-style persistence to MongoDB. Define documents with metadata, map fields and relations, run queries, and handle unit of work, identity map, and migrations for MongoDB apps. | 1,097 | 1,108 | 515 | 392K | 102 | 69.5 | 71.0 | MIT | 2 months ago | |
| doctrine/orm | Doctrine ORM is a PHP 8.1+ object-relational mapper that provides transparent persistence for objects on top of Doctrine DBAL. Includes DQL, an object-oriented SQL-like query language inspired by Hibernate HQL, for flexible, powerful querying. | 10,170 | 10,348 | 2,536 | 5M | 1,283 | 89.6 | 70.5 | MIT | 1 week ago | |
| doctrine/persistence | Leverage Doctrine Persistence for consistent object mapping and database interactions in PHP. Abstracts ORM logic, simplifying persistence across frameworks. Supports Doctrine ORM, DBAL, and more with unified abstractions. Ideal for scalable applications needing clean persistence patterns. | 4,051 | 4,053 | 77 | 5M | 16 | 56.2 | 57.0 | MIT | 5 months ago | |
| doctrine/phpcr-odm | Doctrine PHPCR-ODM maps PHP objects to a PHPCR content repository (e.g., Jackrabbit or DBAL-backed implementations). Provides persistence, querying, and schema mapping via Doctrine-style metadata, with tooling, docs, and test setups for multiple backends. | 181 | 181 | 101 | 12K | 54 | 49.7 | 54.9 | MIT | 2 weeks ago | |
| firebase/php-jwt | Encode and decode JSON Web Tokens (JWT) in PHP per RFC 7519. Supports common signing algorithms, key handling, and optional leeway for clock skew. Install via Composer; libsodium compatible via sodium_compat. | 9,784 | 10,020 | 1,276 | 10M | 10 | 73.0 | 54.6 | BSD-3-Clause | 1 week ago | |
| google/auth | Official Google Auth library for PHP. Implements OAuth 2.0 and Application Default Credentials (ADC) for authenticating to Google APIs and Google Cloud. Install via Composer and use with HTTP clients like Guzzle to authorize API calls. | 1,392 | 1,436 | 194 | 6M | 17 | 47.5 | 67.8 | Apache-2.0 | 3 weeks ago | |
| google/grpc-gcp | GCP-specific extensions for gRPC, providing components and tooling to enhance gRPC clients when accessing Google Cloud APIs. Includes source for extensions plus infrastructure for end-to-end tests and benchmarks for cloud API access. | 184 | 185 | 17 | 4M | 5 | 26.7 | 66.8 | Apache-2.0 | 3 weeks ago | |
| kevinrob/guzzle-cache-middleware | RFC 7234-compliant HTTP cache middleware for Guzzle 6+. Add to a HandlerStack to transparently cache responses and speed up API calls. Supports PSR-7 and multiple backends: Laravel Cache, Flysystem, PSR-6/16, and WordPress object cache. | 432 | 435 | 79 | 371K | 20 | 39.6 | 56.2 | MIT | 4 weeks ago | |
| knplabs/github-api | Lightweight, well-tested PHP wrapper for GitHub APIs v3 (REST) and v4 (GraphQL). PSR-17/PSR-18 compatible via HTTPlug, with easy setup using Guzzle, Symfony HttpClient, or other PSR clients. Supports framework integrations (Laravel via graham-campbell/github). | 2,200 | 2,227 | 592 | 489K | 39 | 67.8 | 59.7 | MIT | 1 year ago | |
| kreait/firebase-php | Unofficial Firebase Admin SDK for PHP. Manage authentication, users, custom tokens, and verify ID tokens; send Cloud Messaging notifications; work with Realtime Database, Cloud Storage, and Remote Config. Built on Google APIs with Laravel-friendly support. | 2,430 | 2,448 | 452 | 1M | 14 | 59.0 | 51.1 | MIT | 1 month ago | |
| kreait/firebase-tokens | Create Firebase custom tokens and verify ID tokens or session cookies in PHP. Lightweight library powering the Firebase Admin SDK, with tenant-aware verification and optional caching of Google Secure Token Store keys. | 240 | 241 | 34 | 1M | 0 | 31.3 | 61.3 | MIT | 6 months ago | |
| laminas/laminas-cache | Laminas Cache provides flexible caching for PHP applications, with adapters for common backends, cache storage, patterns, plugins, and PSR-compatible integrations. Includes tools for configuring, managing, and testing cache behavior in Laminas apps. | 106 | 107 | 58 | 140K | 9 | 34.3 | 56.0 | BSD-3-Clause | 4 weeks ago | |
| laminas/laminas-cache-storage-adapter-test | Test adapter for Laminas Cache storage. Provides a lightweight in-memory storage implementation useful for unit tests and CI, enabling predictable cache behavior without external services or persistent backends. | 1 | 1 | 10 | 962 | 2 | 27.2 | 44.5 | BSD-3-Clause | 4 weeks ago | |
| laminas/laminas-i18n | Laminas I18n provides internationalization tools for Laminas apps, including translation services, locale and pluralization support, and integration with view helpers and validators. Use it to build multilingual, locale-aware PHP applications. | 78 | — | 38 | — | 17 | 27.5 | 11.2 | BSD-3-Clause | 3 months ago | |
| laminas/laminas-paginator | Laminas Paginator provides flexible pagination for PHP apps, with adapters for arrays, iterators, and database results. Generate page ranges and navigation data, and integrate with Laminas MVC or use standalone for paged listings. | 24 | 25 | 20 | 148K | 1 | 27.7 | 62.2 | BSD-3-Clause | 4 months ago | |
| m4tthumphrey/php-gitlab-api | Modern GitLab API v4 client for PHP 8.1–8.4. Provides a clean, php-github-api-inspired interface to GitLab endpoints, with PSR-18 HTTP client and PSR-17 factory support for flexible integration and authentication. | 948 | 956 | 458 | 97K | 5 | 50.6 | 42.1 | MIT | 1 year ago | |
| mateusjunges/confluent-schema-registry-api | PHP 7.4+ client for Confluent Schema Registry REST API. Provides low-level PSR-7 request builders and high-level synchronous/asynchronous abstractions, with optional caching support, to register, fetch, and manage Avro schemas. | 1 | 1 | 0 | 122K | 0 | 20.3 | 65.0 | MIT | 2 years ago | |
| matomo/device-detector | PHP library to parse User-Agent strings and Browser Client Hints to detect device type (desktop/mobile/tablet/TV, etc.), client apps (browsers, media players, bots), operating systems, and hardware brand/model. Composer-installable and well tested. | 3,459 | 3,470 | 507 | 742K | 63 | 78.8 | 68.5 | LGPL-3.0 | 2 months ago | |
| matthiasmullie/scrapbook | 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 | — | |
| moneyphp/money | PHP library for handling money and currencies safely. Provides immutable Money and Currency value objects, arithmetic with proper rounding, comparisons, formatting, and allocation. Avoid floating-point errors in financial calculations; works well with PHP and frameworks like Laravel. | 4,822 | 4,850 | 442 | 3M | 4 | 67.7 | 46.5 | MIT | 5 months ago | |
| php-http/cache-plugin | 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 | |
| phpdocumentor/phpdocumentor | phpDocumentor generates comprehensive PHP documentation from source code and DocBlocks. It produces API docs, UML diagrams, and parses Markdown/ReStructuredText, with tooling to embed API references into narrative docs to keep documentation in sync. | 4,319 | 4,390 | 640 | 15K | 160 | 85.6 | 43.6 | MIT | 4 months ago | |
| phpfastcache/phpfastcache | 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 | |
| spiral/attributes | Spiral Attributes is a lightweight PHP 8 attributes toolkit for reading, filtering, and working with attributes via reflection. Used by the Spiral framework, it provides a small, focused API for attribute discovery and metadata handling. | 23 | 23 | 4 | 336K | 1 | 23.7 | 65.0 | MIT | 1 year ago | |
| symfony/cache | 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 | |
| symfony/cache-contracts | 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 | |
| symfony/contracts | Symfony Contracts – Standardized PHP interfaces for loose coupling, ensuring interoperability with Symfony and third-party implementations. Useful for dependency injection, autowiring, and framework-agnostic design. Backward-compatible with Symfony components. | 3,942 | 3,949 | 19 | 428K | 0 | 20.3 | 28.2 | MIT | — | |
| symfony/http-kernel | Symfony HttpKernel provides a structured, event-driven workflow to turn HTTP Requests into Responses. Built on the EventDispatcher, it’s flexible enough for full-stack frameworks, micro-frameworks, and CMS platforms like Drupal. | 8,126 | 8,152 | 98 | 14M | 0 | 57.8 | 52.4 | MIT | 1 week ago | |
| symfony/messenger | Symfony Messenger helps PHP apps send and receive messages via async transports and message queues. Dispatch commands/events, route to handlers, and integrate with workers and transports to decouple services and improve scalability. | 1,107 | 1,111 | 90 | 4M | 0 | 38.1 | 57.2 | MIT | 1 week ago | |
| symfony/rate-limiter | Symfony Rate Limiter component implementing token bucket rate limiting. Configure limiters via a factory and use reserve() to wait for tokens or consume() to attempt immediately. Supports pluggable storage like in-memory for controlling request/input/output rates. | 268 | 271 | 13 | 2M | 0 | 31.3 | 63.1 | MIT | 1 week ago | |
| symfony/security-core | Symfony Security Core provides the building blocks for authentication and authorization. Use tokens, voters, role hierarchies, and an access decision manager to cleanly separate access rules from user providers and credential storage. | 1,885 | 1,891 | 31 | 4M | 0 | 40.3 | 54.7 | MIT | 1 week ago | |
| tedivm/stash | Stash is a PHP caching library for speeding up expensive code (DB queries, API calls) by storing results in a cache. It provides Pool and Item APIs with pluggable storage Drivers, including composite setups and maintenance tools like purge. | 961 | 982 | 130 | 27K | 34 | 47.5 | 38.1 | BSD-3-Clause | 3 months ago | |
| zendframework/zend-cache | zendframework/zend-cache provides flexible caching for PHP apps with multiple storage backends (filesystem, memory, APCu, Redis, and more). Supports cache patterns, plugins, serialization, and configurable adapters to improve performance and reduce repeated work. | 67 | 74 | 52 | 48K | 11 | 14.2 | 51.7 | BSD-3-Clause | 6 years ago |
How can I help you explore Laravel packages today?