NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1900 most downloaded on Packagist
BDD assertion library for PHPUnit
Latest stable
3.4.0
Last release 9 months ago
22 Feb 2026
Ships fairly regularly
a new release about every 10 months
Most releases are documented
notes for 20 of 31 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
32 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Allow phpUnit 13 by @KorDum in https://github.com/Codeception/Verify/pull/62
Allow phpunit 12 by @KorDum in https://github.com/Codeception/Verify/pull/61
Allow phpunit 11 by @icanhazstring in https://github.com/Codeception/Verify/pull/58
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add objectHasProperty assertions by @particleflux in https://github.com/Codeception/Verify/pull/57
Removed VerifyClass methods incompatible with PHPUnit 10:
hasAttributehasStaticAttributenotHasAttributenotHasStaticAttributeThis version supports PHPUnit 9 only
Updated code base to PHP 7.4 by @TavoNiievez in https://github.com/Codeception/Verify/pull/52
Full Changelog: https://github.com/Codeception/Verify/compare/2.1.1...2.2.0
Fixed stringToContainString and stringToContainStringIgnoringCase (#49 by @Vetrinus)
[x] Added new expect-toBe and expect-notTo BDD Syntax.
expect function now works with expectations instead of verifiers.expect function now works with expectations instead of verifiers.The Verify API is now fully based on the PHPUnit public API.
Pre-release of the new version of Verify.
Pre-release of the new version of Verify.
Support for full PHPUnit API, that means ~42 new verifiers! (containsEquals, notContainsEquals, notSameSize, sameSize, directoryDoesNotExist, director
Support for full PHPUnit API, that means ~42 new verifiers!
(containsEquals, notContainsEquals, notSameSize, sameSize, directoryDoesNotExist, directoryExists, directoryIsNotReadable, directoryIsNotWritable, directoryIsReadable, directoryIsWritable, fileEqualsCanonicalizing, fileEqualsIgnoringCase, fileIsNotReadable, fileIsNotWritable, fileIsReadable, fileIsWritable, fileNotEqualsCanonicalizing, fileNotEqualsIgnoringCase, jsonFileNotEqualsJsonFile, jsonStringNotEqualsJsonFile, finite, infinite, isClosedResource, isIterable, isNotClosedResource, isNotIterable, nan, notFalse, notTrue, that, json, jsonStringNotEqualsJsonString, notRegExp, stringEqualsFileCanonicalizing, stringEqualsFileIgnoringCase, stringNotEqualsFileCanonicalizing, stringNotEqualsFileIgnoringCase, isNotReadable, isNotWritable, xmlFileNotEqualsXmlFile, xmlStringNotEqualsXmlFile, xmlStringNotEqualsXmlString).
(42 new verifiers!)supported_verifiers.md documentation.Used strict_types and namespaces.
Used strict_types and namespaces.
Created exception InvalidVerifyException.php in case verify is used with some invalid data.
Added docs for all verifiers.
Added data validations with php issers functions and instanceof.
BC: equalXMLStructure and its corresponding test were removed.
BC: hasntKey verifier renamed to hasNotKey for clarity.
BC: Removed support for PHP 7.0 and its corresponding versions of PHPUnit and phpunit-wrapper.
Improved code quality and maintainability.
Used strict types and namespaces.
Created exception InvalidVerifyException.php in case verify is used with some invalid data.
Added documentation for all verifiers.
Divided the verifiers into traits depending on the type of data they verify.
Added data validations with php issers functions and instanceof.
BC: equalXMLStructure and its corresponding test were removed.
BC: hasntKey verifier renamed to hasNotKey for clarity.
BC: Removed support for PHP 7.0 and its corresponding versions of PHPUnit and phpunit-wrapper.
equals and not equals methods use WithDelta version of asserts (@ricpelo)
throws and doesNotThrow methods (@biserantonov)* equalsCanonicalizing * notEqualsCanonicalizing * equalsIgnoringCase * notEqualsIgnoringCase * equalsWithDelta * notEqualsWithDelta
Tests are executed with PHPUnit 8 too.
Added simpler extending with `Codeception\Verify::$override`
Codeception\Verify::$overrideBackported all new assertions for PHPUnit 5 and PHP 5.6
Backported all new assertions for PHPUnit 5 and PHP 5.6
Support for PHPUnit 6. See #31 . by @Shockwave2k
Support for PHPUnit 6. See #31 . by @Shockwave2k
Now you can assert floats with additional $delta param, see #29
Now you can assert floats with additional $delta param, see #29
Nothing published for this version
Nothing published for this version
Removed deprecated "tag" assertion
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.