PHPackages                             eonx-com/easy-lock - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. eonx-com/easy-lock

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

eonx-com/easy-lock
==================

Framework agnostic locking features

6.20.1(2mo ago)11.1M↓21%[1 issues](https://github.com/eonx-com/easy-lock/issues)5MITPHPPHP ^8.2

Since Jul 21Pushed 1mo agoCompare

[ Source](https://github.com/eonx-com/easy-lock)[ Packagist](https://packagist.org/packages/eonx-com/easy-lock)[ RSS](/packages/eonx-com-easy-lock/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (26)Versions (480)Used By (5)

\---eonx\_docs--- title: Introduction weight: 0 ---eonx\_docs---

The purpose of this package isn't to be used within a project by the application as there is no point in creating another level of abstraction in that case BUT only to allow eonx-com packages to dispatch events without having to think about the event dispatcher used by each of our projects.

### Require package (Composer)

[](#require-package-composer)

The recommended way to install this package is to use [Composer](https://getcomposer.org/):

```
$ composer require eonx-com/easy-lock
```

### Usage

[](#usage)

The Symfony Lock component has an excellent [documentation](https://symfony.com/doc/current/components/lock.html) and we recommend referring to it.

###### Connection

[](#connection)

To work with this package you simply have to register the connection to use for the locks store as a service under the `easy_lock.connection` id. This connection will be given to the [StoreFactory](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Lock/Store/StoreFactory.php), so its value can be anything supported by the Lock component.

###### Store

[](#store)

If defining the connection doesn't work for you, you can override the store instance within the service container under the `easy_lock.store` id.

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance68

Regular maintenance activity

Popularity40

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~4 days

Total

463

Last Release

63d ago

Major Versions

3.4.10 → 4.0.82022-02-14

3.4.29 → 4.1.112022-05-13

4.4.1 → 5.0.02023-07-25

4.5.7 → 5.2.22023-08-31

5.13.2 → 6.0.0-alpha2024-08-15

PHP version history (5 changes)v2.4.19PHP ^7.1

v2.5.3PHP ^7.2

3.4.0PHP ^7.2 || ^8.0

4.0.8PHP ^8.1

6.0.0-alphaPHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/c6a35b20deec24986ee5baf0b9597829cb7fddc6f27188fd41fef91864877022?d=identicon)[eonx](/maintainers/eonx)

---

Top Contributors

[![natepage](https://avatars.githubusercontent.com/u/11576446?v=4)](https://github.com/natepage "natepage (61 commits)")[![alexndlm](https://avatars.githubusercontent.com/u/6824784?v=4)](https://github.com/alexndlm "alexndlm (39 commits)")[![roman-eonx](https://avatars.githubusercontent.com/u/48544017?v=4)](https://github.com/roman-eonx "roman-eonx (33 commits)")[![itorgov](https://avatars.githubusercontent.com/u/1703419?v=4)](https://github.com/itorgov "itorgov (19 commits)")[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (3 commits)")[![ERuban](https://avatars.githubusercontent.com/u/13186130?v=4)](https://github.com/ERuban "ERuban (2 commits)")[![BOB41K1987](https://avatars.githubusercontent.com/u/20467102?v=4)](https://github.com/BOB41K1987 "BOB41K1987 (2 commits)")[![voodooism](https://avatars.githubusercontent.com/u/31572316?v=4)](https://github.com/voodooism "voodooism (1 commits)")[![alexandrtspl](https://avatars.githubusercontent.com/u/90907144?v=4)](https://github.com/alexandrtspl "alexandrtspl (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/eonx-com-easy-lock/health.svg)

```
[![Health](https://phpackages.com/badges/eonx-com-easy-lock/health.svg)](https://phpackages.com/packages/eonx-com-easy-lock)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)

PHPackages © 2026

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