【文件属性】:
文件名称:resistance:Redis支持PHP数据持久性(实验)
文件大小:48KB
文件格式:ZIP
更新时间:2021-05-24 16:04:38
PHP
抵抗性
Resistance是用于PHP的简单Redis密钥管理器。 它并没有尝试成为功能齐全的ORM,只是为了简化键空间管理。
如何使用?
使用Composer将其包含在您的项目中:
{
" require " : {
" activecollab/resistance " : " ~0.1 "
}
}
实施存储:
<?php
namespace My \ App \ Storage ;
use Predis \ Client ;
use ActiveCollab \ Resistance \ Storage \ Storage ;
use ActiveCollab \ Resistance \ Storage \ Field \ StringField ;
use ActiveCollab \ Resistance \ S
【文件预览】:
resistance-master
----composer.json(820B)
----.travis.yml(243B)
----composer.lock(35KB)
----test()
--------bootstrap.php(370B)
--------phpunit.xml(775B)
--------src()
--------phpunit.xml.dist(486B)
----LICENSE(1KB)
----src()
--------ActiveCollab()
----.gitignore(13B)
----Makefile(3KB)
----README.md(5KB)