mockery/mockery : 0.9.9

Tested Runtime Badge Not Tested Runtime Badge


Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending.


6.176 software packages are referencing this project.
This project is a Rockstar! If that many other packages are referencing it, it must be good and useful. As a PHP dev you should know this project.
This version number (0.9.9) fits semantic versioning 2.0.0!


testing library BDD TDD test mockery mock stub test double mock objects


3 Require Dependencies
Dependency Badge
Required Newest
hamcrest/hamcrest-php ~1.1 2.0.0
lib-pcre >=7.0 UNKNOWN
php >=5.3.2 7.1.2

1 Require Dev Dependencies
Required Newest
phpunit/phpunit ~4.0 6.0.7
See visual page


Composer entry
"mockery/mockery": "0.9.9"

Leave a comment

Sign in to leave a comment.