phpfastcache / couchdb-extension
Phpfastcache Couchdb 扩展
9.2.0
2024-01-07 05:11 UTC
Requires
- php: >=8.0
- doctrine/couchdb: dev-master
- phpfastcache/phpfastcache: ^9.2
Requires (Dev)
- jetbrains/phpstorm-stubs: dev-master
- phpfastcache/phpfastcache-devtools: ^9.2
- phpmd/phpmd: @stable
- phpstan/phpstan: ^1.5
- squizlabs/php_codesniffer: @stable
This package is auto-updated.
Last update: 2024-09-09 21:39:52 UTC
README
欢迎合并请求,但需要通过测试和质量工具
(必须从存储库根目录运行命令)
PHPCS, PHPMD, PHPSTAN (Level 6), 单元测试
composer run-script quality
composer run-script tests
# In case you want to fix the code style automatically:
composer run-script phpcbf
支持 & 安全
此扩展的支持必须发布到主要的 Phpfastcache 存储库。
Composer 安装
composer install phpfastcache/couchdb-extension
⚠️ 此扩展需要
1️ The composer doctrine/couchdb
library dev-master#9eeb9e5
至少。
您必须确保依赖项至少在提交 9eeb9e5
,因为 doctrine/couchdb
中存在一个严重的错误,会导致无限循环。
事件
此驱动器正在发出 自定义事件
- onCouchdbCreateOptions(Callable $callback)
- 回调参数
- ExtendedCacheItemPoolInterface $itemPool
- EventReferenceParameter($options) $options via EventReferenceParameter 对象 (禁止类型修改)
- 范围
- Couchdb 驱动器
- 描述
- 允许您更改用于创建 Couchdb 客户端实例的选项。
- 风险循环方法:无
- 回调参数