PHPackages                             zerkalica/semaphore-bundle - 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. zerkalica/semaphore-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

zerkalica/semaphore-bundle
==========================

This bundle integrates semaphore library into symfony

21.5k1PHP

Since Oct 22Pushed 13y ago2 watchersCompare

[ Source](https://github.com/zerkalica/SemaphoreBundle)[ Packagist](https://packagist.org/packages/zerkalica/semaphore-bundle)[ RSS](/packages/zerkalica-semaphore-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Millwright semaphore bundle
===========================

[](#millwright-semaphore-bundle)

Integrates zerkalica/semaphore library into Symfony2.

Configuration options (config.yaml):

```
millwright_semaphore:
    try_count: 5 # try count, if lock not acquired
    sleep_time: 1 #sleep time in seconds, if lock not acquired
    adapter: millwright_semaphore.adapter.apc # semaphore adapter name
    #predefined adapters:
    #    millwright_semaphore.adapter.doctrine
    #    millwright_semaphore.adapter.apc
    #    millwright_semaphore.adapter.sem
    #    millwright_semaphore.adapter.flock
    namespace: millwright_semaphore # lock keys namespace
```

Usage:

```
/** @var $semaphore \Millwright\Semaphore\Model\SemaphoreManagerInterface */
$semaphore = $container->get('millwright_semaphore.manager');

$handle = $semaphore->acquire('lock key or object', 60 /* lock expire time in seconds */);

// Do something thread-safe

$semaphore->release($handle);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/06052ad7decfcf0505d3e9bd0d7c51eeb95317020bc52e71551941aa8fabe99a?d=identicon)[zerkalica](/maintainers/zerkalica)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/zerkalica-semaphore-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/zerkalica-semaphore-bundle/health.svg)](https://phpackages.com/packages/zerkalica-semaphore-bundle)
```

PHPackages © 2026

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