🌱 Open Source
Back to Open Source

🐙 GitHub Detail

M

mockery/mockery

By mockery

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).

GitHub PHP BSD 3-Clause "New" or "Revised" License Updated 09 Jun 2026

Live Snapshot

Stars

10,723

🍴

Forks

465

📄

License

BSD 3-Clause "New" or "Revised" License

🧩

Type

PHP

📘

About this open-source project

Live information fetched from GitHub.

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).

🌿

Default Branch

1.6.x

🐞

Open Issues

118

👀

Watchers

10,723