integrated / locking-bundle
Provides an interface to manage database locks and keep a lock active by Ajax request
Installs: 3 548
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:symfony-bundle
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
Provides an interface to manage database locks and keep a lock active by Ajax request.
Requirements
- See the require section in the composer.json
Documentation
Installation
This bundle can be installed following these steps:
Install using composer
$ php composer.phar require integrated/locking-bundle:~0.2
Enable the bundle
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Integrated\Bundle\LockingBundle\IntegratedLockingBundle()
// ...
);
}
Initiate the database
$ php app/console init:locking
Add lock cleaning to crontab
$ php app/console locking:dbal:clean
License
This bundle is under the MIT license. See the complete license in the bundle:
LICENSE
Contributing
Pull requests are welcome. Please see our CONTRIBUTING guide.
About
This bundle is part of the Integrated project. You can read more about this project on the Integrated for developers website.