eloquent/phony-phpunit
Integration of the Phony mocking/stubbing library with PHPUnit, providing helpers to use Phony in your test suite. Note: this package is no longer maintained; see the linked statement and consider alternatives or the main Phony repo.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mcustiel/phiremock | 0.86 | — | 150 | 153 | 15 | 8K | 1 | 10.3 | 23.9 | GPL-3.0 | 5 years ago | |
| janmarek/mockista | 0.86 | Mockista is a lightweight mocking library for PHP/Laravel that helps you create and configure test doubles quickly. Define expectations, stub methods, and verify calls with a simple, fluent API to keep unit tests fast, readable, and maintainable. | 29 | 29 | 14 | 361 | 2 | 1.4 | 16.9 | — | — | |
| mcustiel/phiremock-common | 0.85 | Shared utilities for the Phiremock PHP ecosystem. Provides common classes, interfaces, and helpers used across related packages to simplify building and consuming Phiremock client/server components with consistent behavior and minimal duplication. | 3 | 3 | 5 | 13K | 1 | 16.2 | 53.8 | GPL-3.0 | 4 months ago | |
| mnapoli/phpunit-easymock | 0.85 | A lightweight bridge between PHPUnit and EasyMock for PHP. Quickly create, replay, and verify mocks from your test cases with minimal boilerplate, helping you write clear unit tests using the familiar EasyMock-style workflow. | 38 | 38 | 4 | 2K | 0 | 4.8 | 22.7 | MIT | 1 year ago | |
| sofa/eloquent-testsuite | 0.85 | — | 10 | 10 | 2 | 862 | 0 | 2.6 | 26.2 | MIT | 5 years ago | |
| phake/phake | 0.85 | Phake is a PHP mocking framework for PHPUnit and other test runners. Create mocks, stubs, and spies with a simple API, verify method calls and arguments, and define return values or exceptions—ideal for fast, isolated unit tests. | 476 | 485 | 86 | 50K | 13 | 29.1 | 37.2 | NOASSERTION | 5 months ago | |
| imanghafoori/eloquent-mockery | 0.84 | — | 127 | 127 | 20 | 714 | 4 | 2.7 | 12.8 | MIT | 2 years ago | |
| mcustiel/phiremock-client | 0.84 | PHP client for Phiremock Server with a fluent API to define HTTP expectations, manage scenarios, and reset server state. Works with Guzzle 6 by default, or any PSR-18 HTTP client by overriding the factory for custom connections. | 16 | 16 | 9 | 11K | 1 | 18.5 | 44.4 | GPL-3.0 | 4 months ago | |
| draw/tester | 0.84 | Tools for testing PHP apps: DataTester wraps PHPUnit assertions with a fluent, path-based API for arrays/objects. Includes PHPUnit extensions like CarbonReset to reset Carbon state between tests and SetUpAutowire to autowire test properties via attributes. | 0 | 0 | 0 | 818 | 0 | 0.0 | 40.2 | MIT | — | |
| timacdonald/callable-fake | 0.84 | A tiny PHP testing utility for faking/invoking callables. CallableFake lets you replace closures or invokable objects, record calls and arguments, assert usage, and return configured values—useful for isolating behavior in PHPUnit/Laravel tests. | 46 | 45 | 2 | 50 | 0 | 3.0 | 4.4 | MIT | 1 year ago | |
| eloquent/phony-kahlan | 0.84 | — | 5 | 5 | 3 | 26 | 0 | 1.3 | 7.1 | MIT | 5 years ago | |
| drjele/symfony-phpunit | 0.84 | Symfony bridge for running PHPUnit tests with a simple, consistent setup. Provides helpers and configuration to integrate PHPUnit into Symfony projects, smoothing bootstrapping and test execution across environments. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| digitalrevolution/phpunit-extensions | 0.84 | — | 3 | 3 | 2 | 3K | 1 | 21.0 | 44.3 | MIT | 5 months ago | |
| lendable/phpunit-extensions | 0.84 | — | 2 | 2 | 0 | 5K | 1 | 13.5 | 49.6 | MIT | 5 months ago | |
| mcustiel/phiremock-server | 0.84 | PHP HTTP mock/stub server inspired by WireMock. Mock requests by method/headers/URL/body/forms, set responses via REST API, support scenarios, priorities, latency simulation, verification counts, proxying, and loading expectations from JSON files. | 19 | 19 | 6 | 15K | 1 | 19.8 | 45.0 | GPL-3.0 | 4 months ago | |
| php-mock/php-mock-mockery | 0.84 | Integrates php-mock with Mockery to mock PHP built-in functions in tests. Create namespaced function mocks with PHPMockery::mock() and set expectations/returns, then call Mockery::close(). Supports only unqualified calls; define early if needed. | 39 | 39 | 5 | 69K | 2 | 1.9 | 44.6 | WTFPL | 1 year ago | |
| belsym/test-bundle | 0.84 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| mockery/mockery | 0.83 | 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,726 | 10,811 | 466 | 10M | 106 | 68.0 | 62.4 | BSD-3-Clause | 2 years ago | |
| php-mock/php-mock-phpunit | 0.82 | Integrate php-mock with PHPUnit to mock built-in PHP functions (like time(), file_get_contents(), etc.) in a controlled, namespaced way. Ideal for unit tests that need to simulate IO, time, and other global behaviors without changing production code. | 173 | 174 | 20 | 228K | 4 | 18.9 | 47.6 | WTFPL | 6 months ago | |
| mpyw/mockery-pdo | 0.82 | Experimental BDD-style PDO mocking library built on mockery/mockery. Define expectations for prepare/bind/execute and return rows via fetch/fetchAll in a fluent API, making PDO-based code easy to test on PHP 8.2+. | 3 | 3 | 2 | 1K | 1 | 9.9 | 37.7 | MIT | 7 months ago |
How can I help you explore Laravel packages today?