Hamcrest is a matching library originally written for Java, but subsequently ported to many other languages.
php-hamcrest is the official PHP port of Hamcrest and essentially follows a literal translation of the original Java API for Hamcrest, with a few Exceptions, mostly down to PHP language barriers.
To use this library, you just have to add, in your project:
require_once '/usr/share/php/Hamcrest/autoload.php';
Please login to add feedback.
This update has been submitted for testing by remi.
This update has been pushed to testing.
This update has reached 14 days in testing and can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by remi.
This update has been pushed to stable.