PHPackages                             integrated/locking-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. integrated/locking-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

integrated/locking-bundle
=========================

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

0.7(9y ago)03.6k1MITPHPPHP &gt;=5.4

Since Jun 5Pushed 8y ago2 watchersCompare

[ Source](https://github.com/integratedfordevelopers/integrated-locking-bundle)[ Packagist](https://packagist.org/packages/integrated/locking-bundle)[ Docs](http://www.integratedfordevelopers.com)[ RSS](/packages/integrated-locking-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (5)Versions (25)Used By (1)

IntegratedLockingBundle
=======================

[](#integratedlockingbundle)

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

Requirements
------------

[](#requirements)

- See the require section in the composer.json

Documentation
-------------

[](#documentation)

- [Integrated for developers website](http://integratedfordevelopers.com/content/documentation "Integrated for developers website")

Installation
------------

[](#installation)

This bundle can be installed following these steps:

### Install using composer

[](#install-using-composer)

```
$ php composer.phar require integrated/locking-bundle:~0.2

```

### Enable the bundle

[](#enable-the-bundle)

```
// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Integrated\Bundle\LockingBundle\IntegratedLockingBundle()
        // ...
    );
}

```

### Initiate the database

[](#initiate-the-database)

```
$ php app/console init:locking

```

### Add lock cleaning to crontab

[](#add-lock-cleaning-to-crontab)

```
$ php app/console locking:dbal:clean

```

License
-------

[](#license)

This bundle is under the MIT license. See the complete license in the bundle:

```
LICENSE

```

Contributing
------------

[](#contributing)

Pull requests are welcome. Please see our [CONTRIBUTING guide](http://www.integratedfordevelopers.com/contributing "CONTRIBUTING guide").

About
-----

[](#about)

This bundle is part of the Integrated project. You can read more about this project on the [Integrated for developers](http://www.integratedfordevelopers.com "Integrated for developers") website.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 65.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~49 days

Recently: every ~117 days

Total

22

Last Release

3324d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5710731?v=4)[Integrated Publishing Solutions](/maintainers/integrated)[@integrated](https://github.com/integrated)

---

Top Contributors

[![marijnotte](https://avatars.githubusercontent.com/u/6791447?v=4)](https://github.com/marijnotte "marijnotte (19 commits)")[![jansanne](https://avatars.githubusercontent.com/u/1027048?v=4)](https://github.com/jansanne "jansanne (7 commits)")[![joenivl](https://avatars.githubusercontent.com/u/1433653?v=4)](https://github.com/joenivl "joenivl (3 commits)")

---

Tags

lockingIntegrated

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/integrated-locking-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/integrated-locking-bundle/health.svg)](https://phpackages.com/packages/integrated-locking-bundle)
```

###  Alternatives

[malkusch/lock

Mutex library for exclusive code execution.

9459.6M27](/packages/malkusch-lock)[arvenil/ninja-mutex

Simple to use mutex implementation that can use flock, memcache, memcached, mysql or redis for locking

1873.7M27](/packages/arvenil-ninja-mutex)[stefangabos/zebra_session

A drop-in replacement for PHP's default session handler which stores session data in a MySQL database, providing better performance, better security and protection against session fixation and session hijacking

174112.1k2](/packages/stefangabos-zebra-session)[sofa/model-locking

Pseudo pessimistic model locking with broadcasted events for Laravel Eloquent ORM.

5048.0k](/packages/sofa-model-locking)[mpyw/laravel-database-advisory-lock

Advisory Locking Features of Postgres/MySQL/MariaDB on Laravel

2860.5k](/packages/mpyw-laravel-database-advisory-lock)[voku/session2db

A PHP library acting as a wrapper for PHP's default session handling functions which stores data in a MySQL database, providing both better performance and better security and protection against session fixation and session hijacking.

2919.9k](/packages/voku-session2db)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
