PHPackages                             bebat/verify - 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. bebat/verify

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

bebat/verify
============

BDD assertion library for PHPUnit

3.2.0(2y ago)4533[9 issues](https://github.com/bbatsche/Verify/issues)2MITPHPPHP ^7.2 || ^8.0

Since Jul 25Pushed 2y ago2 watchersCompare

[ Source](https://github.com/bbatsche/Verify)[ Packagist](https://packagist.org/packages/bebat/verify)[ Docs](https://github.com/bbatsche/Verify)[ RSS](/packages/bebat-verify/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (16)Versions (34)Used By (2)

Verify
======

[](#verify)

BDD Assertions for PHPUnit and Codeception.

This is small wrapper for PHPUnit assertions that is aimed to make tests more readable and easier to maintain. With BDD assertions influenced by Chai, Jasmine, and RSpec your assertions will look a bit more like natural language.

[![Latest Stable Version](https://camo.githubusercontent.com/b5167d84b4f4fcd3905938977667262b3474b437e2f512eda199a640db51a22a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62656261742f7665726966792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bebat/verify)[![Required PHP Version](https://camo.githubusercontent.com/c4a1ca4455b4e439f72d7a623c46d3b687c32fc1e61de8425973a5f0246832a5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f62656261742f7665726966792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bebat/verify)[![Required PHPUnit Version](https://camo.githubusercontent.com/fa5f53abf8756dba2c8164a0d565671f043c04ab280d6201d93d622c96fac990/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f62656261742f7665726966792f706870756e6974253246706870756e69743f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phpunit/phpunit)[![License](https://camo.githubusercontent.com/8f8ccdf28dfbb3d074f5205601c69a6ddcbb1ba13d40658bb0462ec960210967/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f62656261742f7665726966793f7374796c653d666c61742d737175617265)](LICENSE)[![Acceptance Test Status](https://camo.githubusercontent.com/ee729e781413b01c53fd0084ce067739c234c01e1b01f2b17ec81d9fb667321d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f62626174736368652f5665726966792f616363657074616e63652e796d6c3f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://github.com/bbatsche/Verify/actions/workflows/acceptance.yml)[![Code Coverage](https://camo.githubusercontent.com/3cdf31dbeac22b4167e3e3e64f619b16a3b8e2c2c748af0f88ce0c5646128cc1/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f62626174736368652f5665726966793f7374796c653d666c61742d737175617265)](https://codecov.io/gh/bbatsche/Verify)

Most of the original work was done by [@DavertMik](http://github.com/DavertMik) and [@Ragazzo](http://github.com/Ragazzo) in the [Codeception/Verify](http://github.com/Codeception/Verify) repo. This version provides an alternate API and feature set, while sticking to the original BDD philosophy.

Installation
============

[](#installation)

To install the current version of BeBat/Verify from [Packagist](https://packagist.org/packages/bebat/verify), run the following in your project directory:

```
composer require --dev bebat/verify
```

BeBat/Verify will be added to your `composer.json` under `require-dev` and installed in your `vendor` directory.

Compatibility
-------------

[](#compatibility)

BeBat/Verify is built on top of PHPUnit's own assertions. It is compatible with any version of PHPUnit 8, 9, or 10.1 and above. It should also be compatible with the current version of [Codeception](https://codeception.com/).

In addition, BeBat/Verify is compatible with both PHP 7.2+ and 8+.

Documentation
=============

[](#documentation)

Full documentation for BeBat/Verify can be found on [Read the Docs](https://bebatverify.readthedocs.io).

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 88.9% 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 ~118 days

Recently: every ~80 days

Total

32

Last Release

1049d ago

Major Versions

0.2.7 → 1.0.0-alpha.12015-05-22

1.1.0 → 2.0.0-alpha.12016-06-01

1.2.0 → 2.0.02018-07-23

2.3.x-dev → 3.0.02022-06-16

PHP version history (7 changes)v1.0.0PHP &gt;=5.4.0

2.0.0-alpha.1PHP &gt;=5.6.0

1.2.x-devPHP &gt;=5.6

2.0.0PHP &gt;=7.0

2.0.x-devPHP ^7.0

2.2.0PHP ^7.0 || ^8.0

3.0.0PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6918f1e527496229c5936c704543c4b4835171c5e8a31adae488b792fb38f633?d=identicon)[bbatsche](/maintainers/bbatsche)

---

Top Contributors

[![bbatsche](https://avatars.githubusercontent.com/u/500909?v=4)](https://github.com/bbatsche "bbatsche (200 commits)")[![Ragazzo](https://avatars.githubusercontent.com/u/1748844?v=4)](https://github.com/Ragazzo "Ragazzo (10 commits)")[![cmoralesweb](https://avatars.githubusercontent.com/u/5377322?v=4)](https://github.com/cmoralesweb "cmoralesweb (7 commits)")[![DavertMik](https://avatars.githubusercontent.com/u/220264?v=4)](https://github.com/DavertMik "DavertMik (7 commits)")[![waffle-iron](https://avatars.githubusercontent.com/u/6912981?v=4)](https://github.com/waffle-iron "waffle-iron (1 commits)")

---

Tags

testingphpunitunittestunit testingcodeceptionBDDassertionsunit test

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/bebat-verify/health.svg)

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

###  Alternatives

[pestphp/pest

The elegant PHP Testing Framework.

11.6k72.2M20.5k](/packages/pestphp-pest)[brianium/paratest

Parallel testing for PHP

2.5k136.1M985](/packages/brianium-paratest)[php-mock/php-mock-phpunit

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

1719.0M541](/packages/php-mock-php-mock-phpunit)[nette/tester

Nette Tester: enjoyable unit testing in PHP with code coverage reporter. 🍏🍏🍎🍏

4957.6M1.7k](/packages/nette-tester)[elliotchance/concise

Concise is test framework for using plain English and minimal code, built on PHPUnit.

47224.2k4](/packages/elliotchance-concise)

PHPackages © 2026

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