PHPackages                             yahaay-labs/alternator - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. yahaay-labs/alternator

ActiveLibrary[Testing &amp; Quality](/categories/testing)

yahaay-labs/alternator
======================

A short description of what your package does

v1.0.01(6y ago)015MITPHPPHP ^7.2

Since Aug 25Pushed 6y ago2 watchersCompare

[ Source](https://github.com/YahaayLabs/alternator)[ Packagist](https://packagist.org/packages/yahaay-labs/alternator)[ Docs](https://github.com/YahaayLabs/alternator)[ RSS](/packages/yahaay-labs-alternator/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

alternator
==========

[](#alternator)

Alternator

Usage
-----

[](#usage)

A quick details regarding the usage of this libary.

```
use \YahaayLabs\Alternator;

$strMessage = "Hello ";

$service = new Alternator\Service($strMessage);
echo $service->getMessage();
// Hello from Service

$service = new Alternator\Alternator($strMessage);
echo $service->getMessage();
// Hello from Alternator
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

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

2

Last Release

2448d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bb61e07b328ef894264923d2982daefb40a1bb906415b9f7fae6bf329014e497?d=identicon)[gerald](/maintainers/gerald)

---

Top Contributors

[![eLBirador](https://avatars.githubusercontent.com/u/16186?v=4)](https://github.com/eLBirador "eLBirador (14 commits)")

---

Tags

testalternator

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yahaay-labs-alternator/health.svg)

```
[![Health](https://phpackages.com/badges/yahaay-labs-alternator/health.svg)](https://phpackages.com/packages/yahaay-labs-alternator)
```

###  Alternatives

[mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

10.7k497.0M23.5k](/packages/mockery-mockery)[hamcrest/hamcrest-php

This is the PHP port of Hamcrest Matchers

7.1k484.1M109](/packages/hamcrest-hamcrest-php)[nelmio/alice

Expressive fixtures generator

2.5k43.4M133](/packages/nelmio-alice)[zenstruck/foundry

A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.

78311.9M97](/packages/zenstruck-foundry)[php-mock/php-mock

PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.

36918.1M98](/packages/php-mock-php-mock)[brain/monkey

Mocking utility for PHP functions and WordPress plugin API

33412.5M350](/packages/brain-monkey)

PHPackages © 2026

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