lmc/aerospike-cache
Composer 安装命令:
composer require lmc/aerospike-cache
包简介
Aerospike PHP cache adapter for Symfony/Cache (PSR-6 and PSR-16) and Doctrine/Cache
README 文档
README
This component provides a PSR-6 implementation of Aerospike for adding cache to your applications.
Installation
composer require lmc/aerospike-cache
Usage
$aerospike = new \Aerospike(['hosts' => [['addr' => '127.0.0.1', 'port' => 3000]]]); $aerospikeCache = new AerospikeCache($aerospike, 'aerospkeNamespace');
AerospikeCache uses PSR-6 caching interface for manipulation with the data.
The AerospikeCache also comes bundled with Symfony Cache adapter for DoctrineCache
Creating a new Aerospike instance will immediately connect to the aerospike server,
which might take a while and it should be in lazy abstraction.
Changelog
For latest changes see CHANGELOG.md file. We follow Semantic Versioning.
Contributing and development
Install dependencies
composer install
Run tests
For each pull-request, unit tests as well as static analysis and codestyle checks must pass.
To run all those checks execute:
composer all
统计信息
- 总下载量: 16.55k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-04-30