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 1mo 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 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity21

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://www.gravatar.com/avatar/b7fe188333b2b68c6126c489c7121efa04ed3590d8ee71472512eee010d88b83?d=identicon)[Saniori](/maintainers/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

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)

PHPackages © 2026

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