PHPackages                             fonsecas72/assert-unicade - 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. fonsecas72/assert-unicade

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

fonsecas72/assert-unicade
=========================

Unicade - one place for all your assertions

042.0k1PHP

Since Apr 4Pushed 11y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Single Interface for assertions
===============================

[](#single-interface-for-assertions)

One single way to call assertions

[![Build Status](https://camo.githubusercontent.com/f50f4c044a3b5fb91dffb4b90b56858b9504cad6b4c188a2978254337182ab04/68747470733a2f2f7472617669732d63692e6f72672f666f6e736563617337322f6173736572742d756e69636164652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/fonsecas72/assert-unicade) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/c6b759bf20eee37ac347a10d34593944e0a08e8f0c84249685782dbea4c7afc7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f666f6e736563617337322f6173736572742d756e69636164652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/fonsecas72/assert-unicade/?branch=master) [![Dependency Status](https://camo.githubusercontent.com/5ea89e8fbb78dabe994dcf6aef5e867b22755d75b9cee4b35536d61f7bf92709/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3535306165613831343939366562646433353030303437662f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/550aea814996ebdd3500047f)

[![Latest Stable Version](https://camo.githubusercontent.com/bccde4730749342bb8f278c0faf90e1c84c138378364423a51d9b69ebf936d24/68747470733a2f2f706f7365722e707567782e6f72672f666f6e736563617337322f6173736572742d756e69636164652f762f737461626c652e737667)](https://packagist.org/packages/fonsecas72/assert-unicade) [![Total Downloads](https://camo.githubusercontent.com/52b5c3a015ac29a9f90caf10c96b6a331b6f478b3af2be9aa14bf858d3551e77/68747470733a2f2f706f7365722e707567782e6f72672f666f6e736563617337322f6173736572742d756e69636164652f646f776e6c6f6164732e737667)](https://packagist.org/packages/fonsecas72/assert-unicade) [![Latest Unstable Version](https://camo.githubusercontent.com/3f578f3a86b9ec9889193b0665fe13d0cc42da89928ca68edb9add5ce499fa04/68747470733a2f2f706f7365722e707567782e6f72672f666f6e736563617337322f6173736572742d756e69636164652f762f756e737461626c652e737667)](https://packagist.org/packages/fonsecas72/assert-unicade) [![License](https://camo.githubusercontent.com/dc2af9ca3e9a6fe33cfd9768e62f5a6ae52b2606ccbf5f8c2a38cc13c67959c3/68747470733a2f2f706f7365722e707567782e6f72672f666f6e736563617337322f6173736572742d756e69636164652f6c6963656e73652e737667)](https://packagist.org/packages/fonsecas72/assert-unicade)

### Installation

[](#installation)

```
  composer require --dev fonsecas72/assert-unicade dev-master

```

### Usage

[](#usage)

PHPUnit Assert Facade

```
\UnicadeAssert\Useup::phpunit()->assertTrue(true);
```

Beberlei Assert Facade

```
\UnicadeAssert\Useup::beberlei()->digit('1');
```

Webmozart Assert Facade

```
\UnicadeAssert\Useup::webmozart()->startsWith('fooBar', 'foo');
```

WebAssert Wrapper

```
\UnicadeAssert\Useup::webAssert($mink)->pageTextContains('text')
```

Custom Asserts

```
\UnicadeAssert\Useup::webAssert($mink)->elementIsVisible('xpath', 'xpath');
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/08332523acffe7f60deea89f54df3897d473de43116d7a110b74d0c0acf663be?d=identicon)[fonsecas72](/maintainers/fonsecas72)

---

Top Contributors

[![fonsecas72](https://avatars.githubusercontent.com/u/1098293?v=4)](https://github.com/fonsecas72 "fonsecas72 (13 commits)")

### Embed Badge

![Health badge](/badges/fonsecas72-assert-unicade/health.svg)

```
[![Health](https://phpackages.com/badges/fonsecas72-assert-unicade/health.svg)](https://phpackages.com/packages/fonsecas72-assert-unicade)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[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)[phpspec/phpspec

Specification-oriented BDD framework for PHP 7.1+

1.9k36.7M3.1k](/packages/phpspec-phpspec)

PHPackages © 2026

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