#5,214 of 5,656 by stars
mockery/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).
- Stars
- 10,723
- Forks
- 471
- Created
- 17y ago
- Last push
- 1d ago
Momentum
- Per day
- 0
- Per 7 days
- -1
- Per 30 days
- -2
- Rank, 7 days
- -20
Stars over time
View as table
| Date | Stars |
|---|---|
| Sep 17, 2026 | 10,725 |
| Oct 5, 2026 | 10,723 |
| Oct 12, 2026 | 10,724 |
| Oct 19, 2026 | 10,723 |
Understand this repo
Open it in a tool that explains, diagrams or digests the code.
- Explain A plain-language walkthrough of what the project is and does
- Diagram An interactive architecture diagram of the codebase
- Ingest for AI The whole repository as one text digest to paste into an AI assistant
- Reverse prompt A prompt describing how to rebuild the project
These open independent third-party sites, which may be slow or unavailable for very large repositories.
Similar repositories
Ranked by how many distinctive topics they share with this one.
- 2301

- 2022

Sample code for several design patterns in PHP 8.x
- 3242

Most popular Mocking framework for unit tests written in Java
- 2587

- 4043

- 1571

A toolkit with common assertions and mocks that plays nicely with the standard library