Skip to content

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

Notifications You must be signed in to change notification settings

Abam/http-mock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Mock for PHP

Gitter Build Status Dependency Status Average time to resolve an issue Percentage of issues still open

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

HTTP Mock for PHP mocks the server side of an HTTP request to allow integration testing with the HTTP side. It uses PHP’s builtin web server to start a second process that handles the mocking. The server allows registering request matcher and responses from the client side.

BIG FAT WARNING: software like this is inherently insecure. Only use in trusted, controlled environments.

Usage

Read the docs

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%