Download the PHP package kirouane/imposter without Composer
On this page you can find all versions of the php package kirouane/imposter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download kirouane/imposter
More information about kirouane/imposter
Files in kirouane/imposter
Download kirouane/imposter
More information about kirouane/imposter
Files in kirouane/imposter
Vendor kirouane
Package imposter
Short Description HTTP Mock and Stub
License MIT
Homepage https://github.com/Kirouane/imposter
Package imposter
Short Description HTTP Mock and Stub
License MIT
Homepage https://github.com/Kirouane/imposter
Please rate this library. Is it a good library?
Informations about the package imposter
Imposter
Imposter is a php library that used to serve http stubs and mocks.
Here is an example to emphasize how is simple to mock an HTTP endpoint with this library in PHPUnit.
Install
composer require kirouane/imposter --dev
Features
Display logs
In case of the HTTP request doesn't match any mock, you can find out the reason here http://localhost:2424/mock/log/html
Below, you can see what the logs page looks like.
PHPUnit Asserter
Imposter Library uses PHPunit asserters to match HTTP requests with the mocks you create.
Example :
Proxies
Not implemented yet
All versions of imposter with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
ext-json Version *
symfony/console Version >= 2, < 5
symfony/templating Version >= 2, < 5
monolog/monolog Version >= 1, < 2
guzzlehttp/guzzle Version >= 6, < 7
react/http Version ^0.8.3
php-di/php-di Version ^6.0
phpunit/phpunit Version ^6
ext-json Version *
symfony/console Version >= 2, < 5
symfony/templating Version >= 2, < 5
monolog/monolog Version >= 1, < 2
guzzlehttp/guzzle Version >= 6, < 7
react/http Version ^0.8.3
php-di/php-di Version ^6.0
phpunit/phpunit Version ^6
The package kirouane/imposter contains the following files
Loading the files please wait ....