PHPackages                             qqes/flock - 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. qqes/flock

ActiveLibrary

qqes/flock
==========

QQES FLOCK EXTEND

0.3.0(8y ago)013MITPHP

Since Nov 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/china8036/flock)[ Packagist](https://packagist.org/packages/qqes/flock)[ Docs](http://www.7724.com)[ RSS](/packages/qqes-flock/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

flock
=====

[](#flock)

qqes/flock

Install
-------

[](#install)

```
composer require "qqes/flock:0.2.1"
```

Example
-------

[](#example)

```
require 'vendor/autoload.php';

try{
  $flock = new Qqes\Flock\Flock(__DIR__);
  $flock->lock('me');
  echo 'I heave lock file' . PHP_EOL;
  sleep(5);
  $flock->unLock('me');
  echo 'I have unlock the file' . PHP_EOL;
}catch(Exception $e){
	echo $e->getMessage();
}
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Total

4

Last Release

3111d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/91386696b32b7975e794108fecfed951e39d781c4a65bfb3e8af2d18dd17fdb4?d=identicon)[china8036](/maintainers/china8036)

---

Top Contributors

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

---

Tags

flockqqes

### Embed Badge

![Health badge](/badges/qqes-flock/health.svg)

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

###  Alternatives

[symfony/lock

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

514127.6M456](/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)[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)
