PHPackages                             leeshan87/module-fake-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. leeshan87/module-fake-api

ActiveLibrary[Testing &amp; Quality](/categories/testing)

leeshan87/module-fake-api
=========================

Asynchronous Fake Api module for Codeception

0.2.1(1y ago)24.7k↓50%[1 issues](https://github.com/LeeShan87/module-fake-api/issues)MITPHPPHP &gt;=5.6

Since Aug 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/LeeShan87/module-fake-api)[ Packagist](https://packagist.org/packages/leeshan87/module-fake-api)[ Docs](https://github.com/LeeShan87/module-fake-api)[ GitHub Sponsors](https://github.com/LeeShan87)[ Patreon](https://www.patreon.com/CuriousMindsCollective)[ RSS](/packages/leeshan87-module-fake-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (7)Versions (5)Used By (0)

LeeShan87/module-fake-api
=========================

[](#leeshan87module-fake-api)

[![CI status](https://github.com/LeeShan87/module-fake-api/workflows/CI/badge.svg)](https://github.com/LeeShan87/module-fake-api/actions)[![Installs on Packagist](https://camo.githubusercontent.com/1e5bb476ebd5325bf33c9b1d35368c29de0d2befc4884ba114607dd38145b11e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c65657368616e38372f6d6f64756c652d66616b652d6170693f636f6c6f723d626c7565266c6162656c3d696e7374616c6c732532306f6e2532305061636b6167697374)](https://packagist.org/packages/LeeShan87/module-fake-api)

Asynchronous Fake Api module for Codeception.

This Codeception module helps to create an async FakeApi http server. This module requires react/http:^1.0.0 to work. It provides an async http server, which can

- Respond to http request
- Proxy request to an external http server
- Record proxied requests and store them on the disk It can be used in Codeception tests, if you can manage when and how to tick the FakeApi event loop Example Cept usage:

```
