PHPackages                             codeages/symfony-lock-lite - 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. codeages/symfony-lock-lite

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

codeages/symfony-lock-lite
==========================

Symfony Lock Component

v1.0.0(8y ago)08.4k↓100%MITPHPPHP &gt; 5.3.0

Since Apr 12Pushed 8y ago2 watchersCompare

[ Source](https://github.com/codeages/symfony-lock-lite)[ Packagist](https://packagist.org/packages/codeages/symfony-lock-lite)[ Docs](https://symfony.com)[ RSS](/packages/codeages-symfony-lock-lite/feed)WikiDiscussions master Synced 1mo ago

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

Lock Component
==============

[](#lock-component)

[![Build Status](https://camo.githubusercontent.com/839e994b1d0fff09f90507c8eafdba48c8d529a5459516e7b249d530eb8d414f/68747470733a2f2f7472617669732d63692e6f72672f636f6465616765732f73796d666f6e792d6c6f636b2d6c6974652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/codeages/symfony-lock-lite)

注意
--

[](#注意)

本项目Fork自 [Symfony / Lock](https://github.com/symfony/lock) 为支持 PHP 5.3 / 5.4 老版本做了功能上的裁剪，只保留了 `Flock`、`Redis` 两个 Lock 的实现，如果您的 PHP 版本 在 5.5+ 请使用官方版的 [Symfony / Lock](https://github.com/symfony/lock)。

Resources
---------

[](#resources)

- [Documentation](https://symfony.com/doc/master/components/lock.html)
- [Contributing](https://symfony.com/doc/current/contributing/index.html)
- [Report issues](https://github.com/symfony/symfony/issues) and [send Pull Requests](https://github.com/symfony/symfony/pulls)in the [main Symfony repository](https://github.com/symfony/symfony)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

3

Last Release

3177d ago

PHP version history (3 changes)3.3.x-devPHP &gt;=5.5.9

3.4.x-devPHP ^5.5.9|&gt;=7.0.8

v1.0.0PHP &gt; 5.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8e6f8246b2e0cf9bb1e36263675cd2f86128fde2b44b7db515af38d98d75fb65?d=identicon)[Wellming](/maintainers/Wellming)

---

Top Contributors

[![lileiseven](https://avatars.githubusercontent.com/u/94609?v=4)](https://github.com/lileiseven "lileiseven (9 commits)")[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (7 commits)")[![jderusse](https://avatars.githubusercontent.com/u/578547?v=4)](https://github.com/jderusse "jderusse (3 commits)")[![dunglas](https://avatars.githubusercontent.com/u/57224?v=4)](https://github.com/dunglas "dunglas (1 commits)")[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (1 commits)")

---

Tags

semaphoremutexlockingcasflockredlock

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/codeages-symfony-lock-lite/health.svg)

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

###  Alternatives

[symfony/lock

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

514127.6M454](/packages/symfony-lock)[malkusch/lock

Mutex library for exclusive code execution.

9459.6M27](/packages/malkusch-lock)[arvenil/ninja-mutex

Simple to use mutex implementation that can use flock, memcache, memcached, mysql or redis for locking

1873.7M27](/packages/arvenil-ninja-mutex)[symfony/semaphore

Symfony Semaphore Component

373.9M6](/packages/symfony-semaphore)[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)[avtonom/semaphore-bundle

A generic locking Symfony bundle for PHP, that uses named locks for semaphore acquire and release, to guarantee atomicity

122.8k](/packages/avtonom-semaphore-bundle)

PHPackages © 2026

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