PHPackages                             airmanbzh/pheign - 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. airmanbzh/pheign

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

airmanbzh/pheign
================

Feign implement for php

v1.0(8y ago)11432MITPHPPHP &gt;=5.3.0

Since Aug 23Pushed 7y agoCompare

[ Source](https://github.com/Airmanbzh/pheign)[ Packagist](https://packagist.org/packages/airmanbzh/pheign)[ Docs](https://github.com/airmanbzh/pheign)[ RSS](/packages/airmanbzh-pheign/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Pheign Library
--------------

[](#pheign-library)

Pheign library makes writing php http client easier.

(inspired by [OpenFeign/feign](https://github.com/OpenFeign/feign))

Installation
------------

[](#installation)

Library can be installed with Composer. Installation is quite easy:

```
$ composer require airmanbzh/pheign
```

Composer will install the library to your project's `vendor/airmanbzh/pheign` directory.

Usage
-----

[](#usage)

To make a request, you have to :

### Create a request class

[](#create-a-request-class)

```
