PHPackages                             alex-kalanis/kw\_locks - 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. alex-kalanis/kw\_locks

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

alex-kalanis/kw\_locks
======================

Locks in KWCMS

v3.0.0(2y ago)01.1k4BSD-3-ClausePHPPHP &gt;=7.4.0

Since Feb 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/alex-kalanis/kw_locks)[ Packagist](https://packagist.org/packages/alex-kalanis/kw_locks)[ RSS](/packages/alex-kalanis-kw-locks/feed)WikiDiscussions master Synced yesterday

READMEChangelog (8)Dependencies (9)Versions (9)Used By (4)

kw\_locks
=========

[](#kw_locks)

[![Build Status](https://github.com/alex-kalanis/kw_locks/actions/workflows/code_checks.yml/badge.svg)](https://github.com/alex-kalanis/kw_locks/actions/workflows/code_checks.yml/badge.svg)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/1e48bc2b20b89d42c81d225af8481e9544ce99722e9e6b54a0f3a5e4b6da28c8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65782d6b616c616e69732f6b775f6c6f636b732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/alex-kalanis/kw_locks/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/7f4ee9856a004f80e65bd42add02c37c1d06191319f5f38e05cf05e74d6fe6e7/68747470733a2f2f706f7365722e707567782e6f72672f616c65782d6b616c616e69732f6b775f6c6f636b732f762f737461626c652e7376673f763d31)](https://packagist.org/packages/alex-kalanis/kw_locks)[![Minimum PHP Version](https://camo.githubusercontent.com/0e9ac047546796cfdbe1423d1f4d91c8f37d2fbb11614a7900bb7686aaa5401f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e342d3838393242462e737667)](https://php.net/)[![Downloads](https://camo.githubusercontent.com/7173d757213be2a85b7a5f054247d7966c7ed3125d7f474c985394dfcb99351d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c65782d6b616c616e69732f6b775f6c6f636b732e7376673f7631)](https://packagist.org/packages/alex-kalanis/kw_locks)[![License](https://camo.githubusercontent.com/58f8236f3fbe99b9ac51bcf5315a6adf2b432fdf8a38c0e99ba38bdde7ae7db6/68747470733a2f2f706f7365722e707567782e6f72672f616c65782d6b616c616e69732f6b775f6c6f636b732f6c6963656e73652e7376673f763d31)](https://packagist.org/packages/alex-kalanis/kw_locks)[![Code Coverage](https://camo.githubusercontent.com/98b6ba4088b8c8fefc8e91f4e60b8e5ee3a6d7959e1171c72bafc29e76e00365/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65782d6b616c616e69732f6b775f6c6f636b732f6261646765732f636f7665726167652e706e673f623d6d617374657226763d31)](https://scrutinizer-ci.com/g/alex-kalanis/kw_locks/?branch=master)

Locking resources in KWCMS. Process it by files or other storages.

PHP Installation
----------------

[](#php-installation)

```
composer.phar require alex-kalanis/kw_locks
```

(Refer to [Composer Documentation](https://github.com/composer/composer/blob/master/doc/00-intro.md#introduction) if you are not familiar with composer)

PHP Usage
---------

[](#php-usage)

1.) Use your autoloader (if not already done via Composer autoloader)

2.) Add some external packages with connection to the local or remote services.

3.) Connect the "kalanis\\kw\_locks..." into your app. Extends it for setting your case.

4.) Extend your libraries by interfaces inside the package.

5.) Just call setting and render

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~109 days

Recently: every ~144 days

Total

8

Last Release

770d ago

Major Versions

v1.0.0 → v2.0.02022-06-03

v2.2.1 → v3.0.02024-03-31

PHP version history (2 changes)v1.0.0PHP &gt;=7.2.0

v3.0.0PHP &gt;=7.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/499b0a541b787cdb31412f578c7b94c9790bcbee7de12c65b6101c6ce45ef6f0?d=identicon)[alex-kalanis](/maintainers/alex-kalanis)

---

Top Contributors

[![alex-kalanis](https://avatars.githubusercontent.com/u/59184183?v=4)](https://github.com/alex-kalanis "alex-kalanis (18 commits)")

---

Tags

locklocks

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/alex-kalanis-kw-locks/health.svg)

```
[![Health](https://phpackages.com/badges/alex-kalanis-kw-locks/health.svg)](https://phpackages.com/packages/alex-kalanis-kw-locks)
```

###  Alternatives

[zerkalica/semaphore

This library provides an api for semaphore acquire and release

1119.0k1](/packages/zerkalica-semaphore)[nabao/laravel-lock

高性能, 分布式, 并发抢占锁, 队列锁

271.5k](/packages/nabao-laravel-lock)[pudongping/hyperf-wise-locksmith

A mutex library provider for the Hyperf framework, designed to enable serialized execution of PHP code in high-concurrency scenarios.

106.3k2](/packages/pudongping-hyperf-wise-locksmith)

PHPackages © 2026

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