NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #115 most downloaded on Packagist
This is the PHP port of Hamcrest Matchers
Latest stable
v3.0.0
Last release 8 months ago
17 Mar 2026
Release timing varies
gaps range from 4 months to 4.8 years
Most releases are documented
notes for 8 of 10 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
10 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Solve the risky test warnings in PHPUnit by @aik099 in https://github.com/hamcrest/hamcrest-php/pull/89
Full Changelog: https://github.com/hamcrest/hamcrest-php/compare/v2.1.1...v2.1.2
Full Changelog: v2.1.1...v2.1.2
Your coding agent can read these notes before it upgrades. Set up the MCP server →
fix implicitly nullable via default value null for PHP-8.4 by @txdFabio in https://github.com/hamcrest/hamcrest-php/pull/85
Full Changelog: https://github.com/hamcrest/hamcrest-php/compare/v2.1.0...v2.1.1
Drops support for PHP <=7.3
Drops support for PHP <=7.3
Added support for PHP 8
Merge pull request #30 from spekulatius/patch-1
Merge pull request #30 from spekulatius/patch-1
updating badges
Adds more protection against double inclusion of functions in the global namespace.
Nothing published for this version
added loading of functions with composer, improved travis and README …
added loading of functions with composer, improved travis and README …
Nothing published for this version
Added non-empty matchers to complement the emptiness-matching forms.
Issues Fixed: 121, 138, 147
Added non-empty matchers to complement the emptiness-matching forms.
Added ability to pass variable arguments to several array-based matcher factory methods so they work like allOf() et al.
Matchers that accept an array of matchers now also accept variable arguments. Any non-matcher arguments are wrapped by IsEqual.
Added noneOf() as a shortcut for not(anyOf()).
One column per quarter.