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.22.5(4w ago)11.2M↓77.4%[1 issues](https://github.com/eonx-com/easy-lock/issues)5MITPHPPHP ^8.2

Since Jul 21Pushed 2w 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 2d ago

READMEChangelogDependencies (65)Versions (487)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

60

—

FairBetter than 98% of packages

Maintenance75

Regular maintenance activity

Popularity39

Limited adoption so far

Community25

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

Total

470

Last Release

28d ago

Major Versions

3.4.16 → 4.0.72022-02-14

3.4.26 → 4.1.122022-05-13

4.4.5 → 5.0.02023-07-25

4.5.1 → 5.2.12023-08-31

5.13.1 → 6.0.0-alpha2024-08-15

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

v2.5.2PHP ^7.2

3.4.0PHP ^7.2 || ^8.0

4.0.7PHP ^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 (40 commits)")[![roman-eonx](https://avatars.githubusercontent.com/u/48544017?v=4)](https://github.com/roman-eonx "roman-eonx (35 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/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)

PHPackages © 2026

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