Home

mock PHP packages

304 PHP Packages found for mock | Latest mock packages | RSS

mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

  • 7
  • 14327
  • 22362
  • 8440
  • 368

phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

  • 107
  • 394
  • 52080
  • 6872
  • 193

mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

  • 140
  • 2379
  • 5486
  • 1163
  • 95

phpunit/phpunit-mock-objects

Mock Object library for PHPUnit

  • 157
  • 430
  • 45418
  • 4661
  • 157

phake/phake

The Phake mock testing library

  • 604
  • 426
  • 869
  • 442
  • 74

crysalead/kahlan

The PHP Test Framework for Freedom, Truth and Justice.

  • 835
  • 58
  • 27
  • 992
  • 54

codeception/aspect-mock

Experimental Mocking Framework powered by Aspects

  • 845
  • 157
  • 601
  • 687
  • 93

kahlan/kahlan

The PHP Test Framework for Freedom, Truth and Justice.

  • 1017
  • 185
  • 188
  • 992
  • 54

internations/http-mock

Mock HTTP requests on the server side in your PHP unit tests

  • 1590
  • 35
  • 151
  • 356
  • 45

ptrofimov/xpmock

PHPUnit: simple syntax to create mock-objects

  • 1633
  • 182
  • 136
  • 77
  • 4

polishsymfonycommunity/symfony-mocker-container

Provides base Symfony dependency injection container enabling service mocking.

  • 1844
  • 45
  • 438
  • 125
  • 8

guzzle/plugin-mock

Guzzle Mock plugin

  • 2243
  • 88
  • 31
  • 3
  • 1

janmarek/mockista

Mockista is library for mocking, which I've written, because I find mocking in PHPUnit awful.

  • 2439
  • 73
  • 67
  • 30
  • 14

icecave/isolator

Dependency injection for global functions.

  • 2602
  • 39
  • 347
  • 32
  • 2

letsdrink/ouzo

Ouzo PHP MVC framework

  • 2707
  • 2
  • 2
  • 60
  • 6

facebook/fbmock

FBMock is a PHP mocking framework designed to be simple and easy to use.

  • 2787
  • 0
  • 7
  • 183
  • 44

simpletest/simpletest

Unit testing, mock objects and web testing framework for PHP built around test cases.

  • 2794
  • 65
  • 74
  • 140
  • 43

polishsymfonycommunity/symfony2-mocker-extension

Behat extension for mocking services defined in the Symfony2 dependency injection container.

  • 3058
  • 5
  • 53
  • 29
  • 8

box/shmock

Shorthand for (PHPUnit) Mocking

  • 3180
  • 1
  • 8
  • 35
  • 9

php-mock/php-mock-phpunit

Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.

  • 3662
  • 197
  • 445
  • 97
  • 13

php-http/mock-client

Mock HTTP client

  • 3667
  • 298
  • 453
  • 29
  • 14

brain/monkey

Mocking utility for PHP functions and WordPress plugin API

  • 3862
  • 164
  • 71
  • 134
  • 19

shyru/timedilation

Mocking time() for PHPUnit

  • 4090
  • 0
  • 1
  • 0
  • 0

schnipseljagd/testdatabuilder

Helps you to build your mocks, stubs and test data in a nice oop way.

  • 4203
  • 4
  • 5
  • 3
  • 3

php-mock/php-mock

PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.

  • 4683
  • 86
  • 945
  • 249
  • 14

Built with Laravel by psampaz, powered by DigitalOcean