![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2019-05-08 (19 days ago) ![]() | Not yet rated by the users | Total: 56 This week: 2 | All time: 9,473 This week: 203![]() |
Version | License | PHP version | Categories | |||
http_request_mock_se 1.0 | GNU Lesser Genera... | 5 | HTTP, PHP 5, Testing |
Description | Author | |
This package can test HTTP requests with configurable responses. |
This component should easy up your testing. It can also be used as a mocked endpoint.
The current change log can be found here.
The latest stable release is
Url encoded string.
One of the following three:
Any number is working.
Url with all available and supported get parameters
?format=json&content=%7B%22foo%22%3A+%22bar%22%7D
will return
{"foo":"bar"}
Url with all available and supported get parameters
?format=raw&content=There+is+no+foo+without+a+bar
will return
There is no foo without a bar
Url with all available and supported get parameters
?format=xml&content=<foo>bar<%2Ffoo>
will return
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xml>
<foo>bar</foo>
</xml>
This project has a small number of source lines of code (less than 127 lines of code without the syntactic sugar). It is just a small thing you can use. There are a lot of mature projects out there like http-server-mock to name just one.
Star it if you like it :-). Add issues if you need it. Pull patches if you enjoy it. Write a blog entry if you use it. Donate something if you love it :-].
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Lic. | License text | ||
![]() ![]() |
Doc. | Documentation |
![]() | http_request_mock_se-2019-05-08.zip 21KB |
![]() | http_request_mock_se-2019-05-08.tar.gz 16KB |
![]() | Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.