PHPackages                             romanpitak/php-rest-client - 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. romanpitak/php-rest-client

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

romanpitak/php-rest-client
==========================

REST client library.

v1.2.1(11y ago)161.7M—4.9%6[3 issues](https://github.com/romanpitak/PHP-REST-Client/issues)6MITPHPPHP &gt;=5.3.3

Since Mar 1Pushed 11y ago5 watchersCompare

[ Source](https://github.com/romanpitak/PHP-REST-Client)[ Packagist](https://packagist.org/packages/romanpitak/php-rest-client)[ Docs](https://github.com/romanpitak/PHP-REST-Client)[ RSS](/packages/romanpitak-php-rest-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (7)Used By (6)

PHP REST Client
===============

[](#php-rest-client)

[![Latest Stable Version](https://camo.githubusercontent.com/0de7c9dd1f6a336905684d45375fc8d2d68b7073ede4a53723a546ea4ad74c7c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f6d616e706974616b2f7068702d726573742d636c69656e742e737667)](https://packagist.org/packages/romanpitak/php-rest-client)[![Total Downloads](https://camo.githubusercontent.com/09805b0ba174b34708ac0753f28f501226118b9a753273e51b56d9527263dc71/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f6d616e706974616b2f7068702d726573742d636c69656e742e737667)](https://packagist.org/packages/romanpitak/php-rest-client)[![License](https://camo.githubusercontent.com/4f0ddafe23288e416341fe9d16deb34f6a0b34e2e728646864e3b4b145b26a42/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f726f6d616e706974616b2f7068702d726573742d636c69656e742e737667)](https://packagist.org/packages/romanpitak/php-rest-client)[![Code Climate](https://camo.githubusercontent.com/0b937d57659355edfe60a9a4b357d7f0569519f8cc04402bc9d10f982b9ce411/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f726f6d616e706974616b2f5048502d524553542d436c69656e742f6261646765732f6770612e737667)](https://codeclimate.com/github/romanpitak/PHP-REST-Client)[![Codacy Badge](https://camo.githubusercontent.com/8851b03b3968051dddc6e5d3473e97bd7dd23660d5e7cdb67649ce9c8c797c06/68747470733a2f2f7777772e636f646163792e636f6d2f70726f6a6563742f62616467652f6566346635393138376364373465646161616330373134626435616562616264)](https://www.codacy.com/public/roman/PHP-REST-Client)

(c) 2014-2015 Roman Piták,

Representational state transfer PHP client library.

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

[](#installation)

The best way to install is to use the [Composer](https://getcomposer.org/) dependency manager.

```
php composer.phar require romanpitak/php-rest-client

```

Basic Usage
-----------

[](#basic-usage)

```
$client = new Client('https://raw.githubusercontent.com/romanpitak');

$request = $client->newRequest('/PHP-REST-Client/master/README.md');

$response = $request->getResponse();

echo $response->getParsedResponse();
```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity48

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 97.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~88 days

Total

5

Last Release

4106d ago

Major Versions

v0.9 → v1.02014-03-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/698ad801000b695220f9d486c93eae91de08402f896d88b14ab5774b2fc574fa?d=identicon)[romanpitak](/maintainers/romanpitak)

---

Top Contributors

[![romanpitak](https://avatars.githubusercontent.com/u/2676459?v=4)](https://github.com/romanpitak "romanpitak (36 commits)")[![RailsGuy](https://avatars.githubusercontent.com/u/26206?v=4)](https://github.com/RailsGuy "RailsGuy (1 commits)")

---

Tags

httpclientrest

### Embed Badge

![Health badge](/badges/romanpitak-php-rest-client/health.svg)

```
[![Health](https://phpackages.com/badges/romanpitak-php-rest-client/health.svg)](https://phpackages.com/packages/romanpitak-php-rest-client)
```

###  Alternatives

[printu/labelary

PHP API for Labelary.com

34616.9k](/packages/printu-labelary)[slimpay/hapiclient

An HTTP Client using HAL as the format for resources.

14317.3k](/packages/slimpay-hapiclient)[e-moe/guzzle6-bundle

Integrates Guzzle 6 into your Symfony application

11259.2k](/packages/e-moe-guzzle6-bundle)[jsor/hal-client

A lightweight client for consuming and manipulating Hypertext Application Language (HAL) resources.

2425.9k1](/packages/jsor-hal-client)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
