thewebsolver/cache
Composer 安装命令:
composer require thewebsolver/cache
包简介
A simple and elegant wrapper for Symfony Cache
README 文档
README
A simple, straight-forward Facade for Symfony Cache.
This package aims to provide a better Developer Experience (DX) to interact with various Cache Adapters required by a PHP Project. Powered by Symfony Cache, this library provides support for Stampede Prevention out of the Box by opting to use Symfony Cache Contracts instead of PSR-6 Cache Interface.
Benefits
- Aims to provide easier (with dead-simple API) and Type-safe (more secure and robust) application design.
- Exposes various methods:
- for registering Adapters in the PHP project Bootstrap file, and
- to use those registered Adapters flawlessly from within Middlewares (or anywhere it seems fit).
- Supports Dependency Injection with your own App Container (that implements PSR-11 Container Interface).
Usage
For usage details, visit Wiki page.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2024-06-10