awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
php-fig avatar

php-fig/cache

0
View on GitHub↗
5,192 stars·46 forks·PHP·MIT·17 views

Cache

This project is a cache abstraction layer and interface standard for PHP, specifically defining the PSR-6 caching specification. It establishes a consistent set of type definitions and contracts for cache items and pools to ensure interoperability between different PHP libraries.

The specification prevents vendor lock-in by separating high-level caching logic from low-level storage implementations. This allows different caching backends to be swapped without requiring changes to the application code.

The project focuses on PHP cache standardization and library interoperability through the use of common method signatures and type-safe definitions. This creates a vendor-agnostic caching layer that enables multiple storage providers to remain interchangeable.

Features

  • Caching Interfaces - Implements standardized PHP-FIG interfaces for key-value data caching to ensure interoperability.
  • Caching Layers - Provides a specification that separates high-level caching logic from low-level storage implementations.
  • PHP Interoperability Libraries - Creates PHP packages that can share cache implementations without requiring specific third-party providers.
  • Contract-Driven Execution - Uses standardized interfaces to ensure consistent caching behavior and interchangeability across different PHP libraries.
  • Caching Specification Layers - Establishes a uniform API layer to isolate the cache storage engine from the consumer.
  • Interoperability Specifications - Defines common method signatures to ensure caching implementations remain interchangeable across libraries.
  • Interoperable Cache Contracts - Provides a consistent set of type definitions that allows different caching backends to be swapped.
  • Interoperable Interface Contracts - Establishes strict type definitions for cache pools and items to enable backend interoperability.
  • Storage Abstraction Layers - Implements architectural patterns that decouple application caching logic from specific storage backend implementations.
  • Storage Abstractions - Provides interfaces that decouple application logic from specific cache storage implementations.
  • Vendor-Agnostic Caching Patterns - Implements a caching layer that prevents dependency on a specific storage provider using unified contracts.
  • Application Cache Management - Provides a standardized way to connect PHP applications to various cache storage systems.
  • Type-Safe Cache Definitions - Standardizes the retrieval and wrapping of cached data using a consistent, type-safe object interface.
  • Type-Safe Cache Pool Definitions - Provides a consistent, type-safe interface for cache collections across various storage providers.
  • Standardized Data Wrappers - Wraps cached data in a consistent item interface to unify how values are retrieved.

Star history

Star history chart for php-fig/cacheStar history chart for php-fig/cache

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Cache

Similar open-source projects, ranked by how many features they share with Cache.
  • doctrine/cachedoctrine avatar

    doctrine/cache

    7,864View on GitHub↗

    This PHP caching library provides a key-value storage abstraction designed to reduce application computation time by storing and retrieving frequently accessed data. It implements the PSR-6 standard for caching interfaces to ensure interoperability between different libraries. The project includes a legacy cache adapter that wraps modern standardized cache pools. This allows systems in transition to maintain compatibility by converting between legacy caching implementations and unified interfaces. The library covers a range of storage capabilities, including a filesystem cache store for pers

    PHP
    View on GitHub↗7,864
  • brandonsavage/uploadbrandonsavage avatar

    brandonsavage/Upload

    1,656View on GitHub↗

    Upload is a PHP library designed to manage the processing and persistence of files submitted through web forms. It provides a framework for handling incoming file data, ensuring that assets are validated against security and quality constraints before being moved from temporary locations to permanent storage. The library distinguishes itself through a modular architecture that decouples file handling logic from specific implementation details. It utilizes a strategy-based abstraction layer for storage, allowing for interchangeable backends, and employs a middleware-driven pipeline to process

    PHP
    View on GitHub↗1,656
  • php-fig/simple-cachephp-fig avatar

    php-fig/simple-cache

    8,088View on GitHub↗

    Simple Cache is a technical specification and interface standard for PHP applications. It defines a common set of methods for interacting with cache storage, ensuring that different storage implementations can be used interchangeably. As the PSR-16 implementation standard, it provides a consistent way for independent PHP libraries and frameworks to store and retrieve cached data. This interoperability allows software packages to work with any compliant cache backend without requiring changes to the application code. The specification focuses on standardizing cache interfaces and interactions

    PHPhacktoberfestphp
    View on GitHub↗8,088
  • symfony/cachesymfony avatar

    symfony/cache

    4,164View on GitHub↗

    This is a PHP library providing standardized interfaces for caching data through the PSR-6 and PSR-16 specifications. It functions as a cache pool manager and distributed cache adapter, allowing applications to organize key-value pairs into logical repositories and namespaces. The project includes a dedicated cache stampede prevention tool that protects systems from CPU spikes during value expiration. This is achieved through locking mechanisms for concurrent requests and probabilistic early expiration. The library supports object serialization with optional encryption and compression to tra

    PHPcachingcomponentphp
    View on GitHub↗4,164
See all 30 alternatives to Cache→

Frequently asked questions

What does php-fig/cache do?

This project is a cache abstraction layer and interface standard for PHP, specifically defining the PSR-6 caching specification. It establishes a consistent set of type definitions and contracts for cache items and pools to ensure interoperability between different PHP libraries.

What are the main features of php-fig/cache?

The main features of php-fig/cache are: Caching Interfaces, Caching Layers, PHP Interoperability Libraries, Contract-Driven Execution, Caching Specification Layers, Interoperability Specifications, Interoperable Cache Contracts, Interoperable Interface Contracts.

What are some open-source alternatives to php-fig/cache?

Open-source alternatives to php-fig/cache include: doctrine/cache — This PHP caching library provides a key-value storage abstraction designed to reduce application computation time by… brandonsavage/upload — Upload is a PHP library designed to manage the processing and persistence of files submitted through web forms. It… symfony/cache — This is a PHP library providing standardized interfaces for caching data through the PSR-6 and PSR-16 specifications.… php-fig/simple-cache — Simple Cache is a technical specification and interface standard for PHP applications. It defines a common set of… marcuswestin/store.js — Store.js is a client-side state persistence library and web storage abstraction layer. It provides a consistent… zfile-dev/zfile — 在线云盘、网盘、OneDrive、云存储、私有云、对象存储、h5ai、上传、下载.