integrated/locking-bundle

Provides an interface to manage database locks and keep a lock active by Ajax request

0.7 2017-04-12 06:29 UTC

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.