PHPackages                             sudiptochoudhury/php-api-client-forge - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. sudiptochoudhury/php-api-client-forge

ActiveLibrary[HTTP &amp; Networking](/categories/http)

sudiptochoudhury/php-api-client-forge
=====================================

Create restful API client in PHP

v0.4.2(2y ago)515.8k↓31.8%3[1 issues](https://github.com/sudiptochoudhury/php-api-client-forge/issues)4MITPHPPHP &gt;=7.0.0CI failing

Since Jul 14Pushed 2y ago2 watchersCompare

[ Source](https://github.com/sudiptochoudhury/php-api-client-forge)[ Packagist](https://packagist.org/packages/sudiptochoudhury/php-api-client-forge)[ Docs](https://github.com/sudiptochoudhury/php-api-client-forge)[ RSS](/packages/sudiptochoudhury-php-api-client-forge/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (33)Used By (4)

php-api-client-forge
====================

[](#php-api-client-forge)

Create restful API client from Postman Collection data (or other sources) in PHP with least code.

php-api-client-forge
====================

[](#php-api-client-forge-1)

- Create restful API client class from Postman Collection data (or other sources)
- Auto generate class `@method` documentation for phpDoc
- Auto generate Markdown API Documentation

[![Latest Stable Version](https://camo.githubusercontent.com/08d20177d5898a26bec8c655987f628a25343a7f10c70fee5b7d26047edee422/68747470733a2f2f706f7365722e707567782e6f72672f7375646970746f63686f7564687572792f7068702d6170692d636c69656e742d666f7267652f76657273696f6e)](https://packagist.org/packages/sudiptochoudhury/php-api-client-forge)[![Latest Unstable Version](https://camo.githubusercontent.com/5f2ace9323947ae1e80de915dd3b40e6ca11eecd3743a7365ba4e5ab9b64de23/68747470733a2f2f706f7365722e707567782e6f72672f7375646970746f63686f7564687572792f7068702d6170692d636c69656e742d666f7267652f762f756e737461626c65)](//packagist.org/packages/sudiptochoudhury/php-api-client-forge)[![License](https://camo.githubusercontent.com/7358efa74cc9829da135d8262caace513e3652e10b9f5a09b61d1edec326f9e8/68747470733a2f2f706f7365722e707567782e6f72672f7375646970746f63686f7564687572792f7068702d6170692d636c69656e742d666f7267652f6c6963656e7365)](https://packagist.org/packages/sudiptochoudhury/php-api-client-forge)[![Total Downloads](https://camo.githubusercontent.com/4ff3d9b0639399e67d555f7fc1da7b95bccc6cd1148cdbe99b7db168ef5dede2/68747470733a2f2f706f7365722e707567782e6f72672f7375646970746f63686f7564687572792f7068702d6170692d636c69656e742d666f7267652f646f776e6c6f616473)](https://packagist.org/packages/sudiptochoudhury/php-api-client-forge)[![composer.lock available](https://camo.githubusercontent.com/f4c6e212d6662b79ed09d9e52364c3b55202b13b94ff7a2dfc5adc0ae6a971dc/68747470733a2f2f706f7365722e707567782e6f72672f7375646970746f63686f7564687572792f7068702d6170692d636c69656e742d666f7267652f636f6d706f7365726c6f636b)](https://packagist.org/packages/sudiptochoudhury/php-api-client-forge)

Import API definitions from Postman exported JSON to a JSON compatible with Guzzle\\Description format or pass a `GuzzleHttp\Command\Guzzle\Description` object and your API class is ready to roll.

> As a bonus, you will also get an auto generated API documentation in markdown format. Moreover, you will get a php file with `@method` declarations for phpDoc class documentation.

This package needs to be used as parent. Extend the `Client` class to make you own API class.

> This is specially designed to import Postman collection exported as JSON (Collection v2.1 - [Schema](https://schema.getpostman.com/json/collection/v2.1.0/collection.json)).

Basics
------

[](#basics)

```
