PHPackages                             s1ptex/uniter - 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. s1ptex/uniter

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

s1ptex/uniter
=============

A package for quickly creating Unit tests

05PHP

Since Jul 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Saniori/Uniter)[ Packagist](https://packagist.org/packages/s1ptex/uniter)[ RSS](/packages/s1ptex-uniter/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Uniter - PHP 8.1 Library for quickly unit testing
=================================================

[](#uniter---php-81-library-for-quickly-unit-testing)

Instalation
-----------

[](#instalation)

```
composer require s1ptex/uniter
```

Usage
-----

[](#usage)

### First you need to create a cortege of testsв

[](#first-you-need-to-create-a-cortege-of-testsв)

```
$Cortege = new \S1ptex\Uniter\Cortege("Test cortege");
```

### Now add test

[](#now-add-test)

```
$Cortege->add("One plus One is Two", function(\S1ptex\Uniter\Test $test){

  $test->assert(1+1 === 2);

});
```

### Print cortege

[](#print-cortege)

```
$Cortege->execute();
```

### Let's run

[](#lets-run)

```
php8.1 name_of_file.php
```

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 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://avatars.githubusercontent.com/u/151148510?v=4)[Saniori](/maintainers/Saniori)[@Saniori](https://github.com/Saniori)

---

Top Contributors

[![Saniori0](https://avatars.githubusercontent.com/u/52438255?v=4)](https://github.com/Saniori0 "Saniori0 (15 commits)")

### Embed Badge

![Health badge](/badges/s1ptex-uniter/health.svg)

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

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14429.2M360](/packages/dms-phpunit-arraysubset-asserts)

PHPackages © 2026

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