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

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

alex-kalanis/kw\_semaphore
==========================

Semaphore for states in KWCMS

v2.0.0(2y ago)03582BSD-3-ClausePHPPHP &gt;=7.4.0

Since Mar 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/alex-kalanis/kw_semaphore)[ Packagist](https://packagist.org/packages/alex-kalanis/kw_semaphore)[ RSS](/packages/alex-kalanis-kw-semaphore/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (7)Dependencies (8)Versions (8)Used By (2)

kw\_semaphore
=============

[](#kw_semaphore)

[![Build Status](https://github.com/alex-kalanis/kw_semaphore/actions/workflows/code_checks.yml/badge.svg)](https://github.com/alex-kalanis/kw_semaphore/actions/workflows/code_checks.yml/badge.svg)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/96c7a044ec0d8bb94d0504cc0853129d02316bb10645c49bdc3ecdf7ccd2683d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65782d6b616c616e69732f6b775f73656d6170686f72652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/alex-kalanis/kw_semaphore/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/83bae93b121b8e3960f1dd969f516864e19af261b3627cdfbc83b6f1a16682b6/68747470733a2f2f706f7365722e707567782e6f72672f616c65782d6b616c616e69732f6b775f73656d6170686f72652f762f737461626c652e7376673f763d31)](https://packagist.org/packages/alex-kalanis/kw_semaphore)[![Minimum PHP Version](https://camo.githubusercontent.com/0e9ac047546796cfdbe1423d1f4d91c8f37d2fbb11614a7900bb7686aaa5401f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e342d3838393242462e737667)](https://php.net/)[![Downloads](https://camo.githubusercontent.com/25150120c789ea12f12a321dbe2a42b7ef4023852e93a3e259fa19fd42eade24/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c65782d6b616c616e69732f6b775f73656d6170686f72652e7376673f7631)](https://packagist.org/packages/alex-kalanis/kw_semaphore)[![License](https://camo.githubusercontent.com/ee4e432cbe574642315ba2b12f6a80177f2a856e4ac71f2d3fb46e634a828c03/68747470733a2f2f706f7365722e707567782e6f72672f616c65782d6b616c616e69732f6b775f73656d6170686f72652f6c6963656e73652e7376673f763d31)](https://packagist.org/packages/alex-kalanis/kw_semaphore)[![Code Coverage](https://camo.githubusercontent.com/5db0d39022530f8bd03fd84bba2087c7f02a68e3054f12cb42a7080caadc522e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65782d6b616c616e69732f6b775f73656d6170686f72652f6261646765732f636f7665726167652e706e673f623d6d617374657226763d31)](https://scrutinizer-ci.com/g/alex-kalanis/kw_semaphore/?branch=master)

Simple semaphore to determine if some element did something.

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

[](#php-installation)

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

(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\_semaphore\\Semaphore\*" 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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

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

Recently: every ~161 days

Total

7

Last Release

775d ago

Major Versions

v1.4.0 → v2.0.02024-03-31

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

v2.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 (13 commits)")

---

Tags

semaphorestates

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[symfony/lock

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

514127.6M459](/packages/symfony-lock)[pragmarx/countries

PHP Countries and Currencies

1.9k3.3M18](/packages/pragmarx-countries)[dougsisk/laravel-country-state

Country &amp; state helper for Laravel.

1681.7M](/packages/dougsisk-laravel-country-state)[pragmarx/countries-laravel

Countries for Laravel

1471.1M2](/packages/pragmarx-countries-laravel)[symfony/semaphore

Symfony Semaphore Component

373.9M6](/packages/symfony-semaphore)[dipeshsukhia/laravel-country-state-city-data

Country State City Data Provider

8230.8k](/packages/dipeshsukhia-laravel-country-state-city-data)

PHPackages © 2026

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