codeception/stub
Create lightweight test doubles for PHP with Codeception Stub. Quickly generate stubs and mocks, define method returns and expectations, and override behavior on the fly—ideal for unit tests that need fast, flexible objects without full implementations.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| bovigo/callmap | 0.83 | Stub and mock PHP method and function calls via a callmap. Define fixed returns, callbacks, consecutive results, or thrown exceptions, then verify invocations and arguments. Works with any unit test framework; argument checks via bovigo/assert or PHPUnit. | 8 | 8 | 4 | 467 | 0 | 29.3 | 28.0 | BSD-3-Clause | 4 months ago | |
| codeception/codeception | 0.82 | Codeception is a full-stack PHP testing framework for unit, functional, and acceptance tests. It unifies PHPUnit-style assertions with browser and API testing, offers modular helpers, and integrates with popular PHP frameworks to speed up reliable test automation. | 4,853 | 4,915 | 1,290 | 1M | 151 | 88.3 | 68.7 | MIT | 1 month ago | |
| codeception/lib-asserts | 0.81 | Lightweight assertion library used by Codeception. Provides clear, dependency-free assert helpers for writing expressive tests in PHP, with informative failure messages and easy integration into any PHPUnit-style workflow. | 104 | 104 | 5 | 1M | 1 | 26.5 | 65.0 | MIT | 2 months ago | |
| mockery/mockery | 0.80 | Mockery is a flexible PHP mock object framework for unit testing with PHPUnit, PHPSpec, and more. It provides a readable DSL to define expectations and interactions, integrates cleanly with PHPUnit, and can be used alongside PHPUnit’s own mocking tools. | 10,725 | 10,812 | 463 | 9M | 104 | 87.9 | 82.1 | BSD-3-Clause | 1 year ago | |
| codeception/module-asserts | 0.80 | Codeception Asserts module adds rich assertion helpers for your tests, letting you use a wide set of PHPUnit-style assertions directly in Codeception suites. Ideal for unit, functional, and acceptance tests to keep checks readable and failures clear. | 85 | 86 | 10 | 1M | 0 | 25.0 | 65.0 | MIT | 3 months ago |
How can I help you explore Laravel packages today?