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

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

klapuch/lock
============

Locking mechanisms

0.2.0(5y ago)0374MITPHPPHP &gt;=7.3

Since Dec 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/klapuch/Lock)[ Packagist](https://packagist.org/packages/klapuch/lock)[ Docs](https://github.com/klapuch/Lock)[ RSS](/packages/klapuch-lock/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (5)Used By (0)

Lock
====

[](#lock)

[![Build Status](https://camo.githubusercontent.com/5ffdbd5678436ed2fb354f7dc1c3b5ec8b6723fc5b166700c3a11beb7470e679/68747470733a2f2f7472617669732d63692e636f6d2f6b6c61707563682f4c6f636b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/klapuch/Lock)

Lock mechanisms

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

[](#installation)

- `composer require klapuch/lock`

Keep one instance of [SemaphoreFactory](Core/SemaphoreFactory.php), because locks don't work correctly.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~82 days

Total

4

Last Release

2149d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17772194?v=4)[Dominik Klapuch](/maintainers/klapuch)[@klapuch](https://github.com/klapuch)

---

Top Contributors

[![h4kuna](https://avatars.githubusercontent.com/u/335722?v=4)](https://github.com/h4kuna "h4kuna (2 commits)")[![klapuch](https://avatars.githubusercontent.com/u/17772194?v=4)](https://github.com/klapuch "klapuch (1 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[whitecube/laravel-timezones

Store UTC dates in the database and work with custom timezones in the application.

108166.6k](/packages/whitecube-laravel-timezones)[pre/plugin

951.5k15](/packages/pre-plugin)[square1/laravel-collection-rolling-average

Extend collections to support rolling average functionality.

2313.3k](/packages/square1-laravel-collection-rolling-average)[klisl/laravel-widgets

Package for using widgets in Laravel-5

103.7k](/packages/klisl-laravel-widgets)

PHPackages © 2026

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