集成 / 锁定捆绑包
提供通过Ajax请求管理数据库锁并保持锁活跃的接口
0.7
2017-04-12 06:29 UTC
Requires
- php: >=5.4
- integrated/library: ~0.7
- symfony/symfony: ~2.8 || ~3.0
Requires (Dev)
- doctrine/dbal: ~2.5
- phpunit/phpunit: ^5.7
- squizlabs/php_codesniffer: ^2.8
README
提供通过Ajax请求管理数据库锁并保持锁活跃的接口。
需求
- 查看composer.json中的require部分
文档
安装
按照以下步骤安装此捆绑包
使用composer安装
$ php composer.phar require integrated/locking-bundle:~0.2
启用捆绑包
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Integrated\Bundle\LockingBundle\IntegratedLockingBundle()
// ...
);
}
初始化数据库
$ php app/console init:locking
将锁清理添加到crontab
$ php app/console locking:dbal:clean
许可证
此捆绑包受MIT许可证的约束。请参阅捆绑包中的完整许可证
LICENSE
贡献
欢迎拉取请求。请参阅我们的贡献指南。
关于
此捆绑包是Integrated项目的一部分。您可以在Integrated for developers网站上了解更多关于此项目的信息。