PHPackages                             newclass/claudo - 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. newclass/claudo

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

newclass/claudo
===============

The semaphore system for php.

v0.1.0(7y ago)02.1kMITPHPPHP &gt;=5.6.0

Since Oct 16Pushed 7y agoCompare

[ Source](https://github.com/newclass-pl/claudo)[ Packagist](https://packagist.org/packages/newclass/claudo)[ RSS](/packages/newclass-claudo/feed)WikiDiscussions master Synced 1mo ago

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

README
======

[](#readme)

[![license](https://camo.githubusercontent.com/4a018965bd8c82cecfad8d9c844dcefc678a887eab90cb8965f025467d3da080/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f626166732f7669612e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/4a018965bd8c82cecfad8d9c844dcefc678a887eab90cb8965f025467d3da080/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f626166732f7669612e7376673f7374796c653d666c61742d737175617265)[![PHP 5.6+](https://camo.githubusercontent.com/4cb8281a28225573129779409c5a37b89b84dcf65c97fb75e966b0aed9bfe73c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d352e342b2d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/4cb8281a28225573129779409c5a37b89b84dcf65c97fb75e966b0aed9bfe73c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d352e342b2d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)

What is Claudo?
---------------

[](#what-is-claudo)

Claudo is a PHP semaphore system. Helper for async execute code.

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

[](#installation)

The best way to install is to use the composer by command:

```
composer require newclass/claudo
composer install

```

Use example
-----------

[](#use-example)

```
use Claudo\Semaphore;
use Claudo\SemaphoreBatch;

$semaphoreBatch = new SemaphoreBatch();

$semaphoreBatch->add(new Semaphore('test1', '.'));
$semaphoreBatch->add(new Semaphore('test2'));

$result = $semaphoreBatch->synchronize(function (Semaphore $semaphore) {
    $var = $semaphore->get('var', null);
    if (!$var) {
        $var = 0;
    }

    ++$var;

    $semaphore->set('var', $var);

    return sprintf('finish: %s, result: %d',$semaphore->getName(),$var);
});

echo $result;

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

2772d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4acb0470eeb89d512ba7302a6184b091c03a433695340e6a4e87e75fe87bdbc6?d=identicon)[newclass-pl](/maintainers/newclass-pl)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/newclass-claudo/health.svg)

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

PHPackages © 2026

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