PHPackages                             componenta/cqrs-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. componenta/cqrs-lock

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

componenta/cqrs-lock
====================

Resource lock middleware for Componenta CQRS commands

v1.0.0(1mo ago)04↓50%1MITPHP &gt;=8.4

Since Jun 21Compare

[ Source](https://github.com/componenta/cqrs-lock)[ Packagist](https://packagist.org/packages/componenta/cqrs-lock)[ RSS](/packages/componenta-cqrs-lock/feed)WikiDiscussions Synced 2w ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (1)

Componenta CQRS Lock
====================

[](#componenta-cqrs-lock)

Resource lock middleware package for `componenta/cqrs` commands marked with `#[Lock]`.

```
composer require componenta/cqrs-lock
```

Register the provider and configure `Symfony\Component\Lock\LockFactory` in the container.

```
return [
    new Componenta\CQRS\ConfigProvider(),
    new Componenta\CQRS\Lock\ConfigProvider(),
];
```

The package provides `Componenta\CQRS\Command\Middleware\ResourceLockMiddleware` and lock-related exceptions.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance90

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

45d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20490712?v=4)[Andrey Shelamkoff](/maintainers/Shelamkoff)[@Shelamkoff](https://github.com/Shelamkoff)

###  Code Quality

TestsPest

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/componenta-cqrs-lock/health.svg)

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

###  Alternatives

[symfony/dependency-injection

Allows you to standardize and centralize the way objects are constructed in your application

4.2k464.3M10.3k](/packages/symfony-dependency-injection)[illuminate/contracts

The Illuminate Contracts package.

706133.3M14.7k](/packages/illuminate-contracts)[illuminate/container

The Illuminate Container package.

31083.8M2.5k](/packages/illuminate-container)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

569591.1k60](/packages/ecotone-ecotone)[civicrm/civicrm-core

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

758297.9k49](/packages/civicrm-civicrm-core)[oro/platform

Business Application Platform (BAP)

645146.3k117](/packages/oro-platform)

PHPackages © 2026

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