PHPackages                             litert/mutex - 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. litert/mutex

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

litert/mutex
============

A mutex management library for LiteRT.

0.2.0(8y ago)014Apache-2.0PHPPHP &gt;=7.0.0

Since Sep 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/litert/mutex)[ Packagist](https://packagist.org/packages/litert/mutex)[ Docs](https://fenying.net)[ RSS](/packages/litert-mutex/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

LiteRT Mutex
============

[](#litert-mutex)

[![Latest Stable Version](https://camo.githubusercontent.com/194062ca2ff219e80e6530b753d41b7d2d8d1b8fa9992dde0583036ec41cd15a/68747470733a2f2f706f7365722e707567782e6f72672f6c69746572742f6d757465782f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/litert/mutex) [![License](https://camo.githubusercontent.com/83a2572a730909cd10f4f560d098de28458e0f00423964ae64eaac90372f0580/68747470733a2f2f706f7365722e707567782e6f72672f6c69746572742f6d757465782f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/litert/mutex)

A mutex management library for LiteRT.

Features
--------

[](#features)

Supports mutex based on following drivers:

- FileSystem
- Redis ([PECL Extension](https://pecl.php.net/package/redis))
- Memcached ([PECL Extension](https://pecl.php.net/package/memcached))
- Memcache ([PECL Extension](https://pecl.php.net/package/memcache))
- APCu ([PECL Extension](https://pecl.php.net/package/apcu))

> Only the specific one PECL extension is required when you are using a driver.

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

[](#installation)

It's recommended to install by composer:

```
composer require litert/mutex
```

Or just git clone this repository, and put the **lib** directory into you project.

Document
--------

[](#document)

- [简体中文版](./docs/zh-CN/index.md).

License
-------

[](#license)

This library is published under [Apache-2.0](./LICENSE) license.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

3111d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3157fc0d3d30cdf4a0f25fe8852b23de2942cedde67528fae44da39c420128b7?d=identicon)[litert](/maintainers/litert)

---

Top Contributors

[![fenying](https://avatars.githubusercontent.com/u/11142903?v=4)](https://github.com/fenying "fenying (4 commits)")

---

Tags

mutexphpmutexlock

### Embed Badge

![Health badge](/badges/litert-mutex/health.svg)

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

###  Alternatives

[symfony/lock

Creates and manages locks, a mechanism to provide exclusive access to a shared resource

514127.6M459](/packages/symfony-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)[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)

PHPackages © 2026

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