Libraries tagged by mocks
janmarek/mockista
224365 Downloads
Mockista is library for mocking, which I've written, because I find mocking in PHPUnit awful.
doppiogancio/mocked-client
77401 Downloads
A simple way to mock a client
bcncommerce/stream-wrapper
20345 Downloads
PHP stream wrapper for testing classes which interact with files
eloquent/phony-phpunit
259545 Downloads
Phony for PHPUnit.
reecem/mocker
266063 Downloads
Mock class constructor args based on the reflection class
pavlakis/slim-cli
95866 Downloads
Making a mock GET request through the CLI and enabling the same application entry point on CLI scripts.
helmich/mongomock
74564 Downloads
Library containing highly intelligent MongoDB mocks for unit testing
gromatics/http-fixtures
3908 Downloads
A Laravel package that generates fake JSON responses for HTTP testing using Http::fake(). It simplifies the creation of mock HTTP responses by integrating with FakerPHP to generate realistic test data.
fakerino/fakerino
15015 Downloads
Faker framework, for generate every kind of fake data for test, database seed, mock responses, other
ciareis/bypass
14711 Downloads
Bypass for PHP provides a quick way to create a custom instead of an actual HTTP server to return prebaked responses to client requests. This is most useful in tests, when you want to create a mock HTTP server and test how your HTTP client handles different types of responses from the server.
adriansuter/php-autoload-override
70600 Downloads
Override global scoped fully qualified function calls inside your class methods in order to be able to mock them during testing.
noeldemartin/laravel-dusk-mocking
112203 Downloads
Mock facades in Laravel Dusk tests.
tmarsteel/mockery-callable-mock
283158 Downloads
Mockery Callable Mock
sminnee/phpunit-mock-objects
202034 Downloads
Mock Object library for PHPUnit (fork to add PHP 7.4 support to 3.4)
silasyudi/inject-mocks
13789 Downloads
Automatic injection of mocks into test subjects via #InjectMocks and #Mock annotations, to speed up unit testing with PHPUnit.