PHPackages                             clarence/restful - 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. clarence/restful

ActiveLibrary

clarence/restful
================

A RESTful client, especially for async requests.

v1.0.8(8y ago)4191MITPHPPHP &gt;=5.5

Since Feb 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Clarence-pan/restful)[ Packagist](https://packagist.org/packages/clarence/restful)[ RSS](/packages/clarence-restful/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (1)Versions (11)Used By (0)

Restful
=======

[](#restful)

[![Build status](https://camo.githubusercontent.com/39f873118b4799aa10e033fec54b24206094c5d829a121f904c3cf66c6379b0d/68747470733a2f2f6170692e7472617669732d63692e6f72672f436c6172656e63652d70616e2f7265737466756c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Clarence-pan/restful)

A RESTful client, especially for async requests.

Install
=======

[](#install)

From Composer
-------------

[](#from-composer)

```
composer require clarence/restful
```

From github
-----------

[](#from-github)

```
git clone git@github.com:Clarence-pan/restful.git
```

Usage
=====

[](#usage)

Talk is cheap. Show the code:

```
use Clarence\Restful\Curl\CurlRestClient;

// Do a GET request
$data = ['test' => 'test', 'hello' => 'world!'];

$jsonResponse = $restClient->get('http://localhost:8888/server/echo-globals.php', $data)->json();
// then use the $jsonRespose....
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~81 days

Recently: every ~137 days

Total

10

Last Release

2997d ago

Major Versions

v0.0.1 → v1.0.02016-02-27

PHP version history (2 changes)v0.0.1PHP ^5.5

v1.0.3PHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/6440e0a9290b2e59c6c088202673fe19172717b7476ba4c821936a62d227d3f8?d=identicon)[Clarence-pan](/maintainers/Clarence-pan)

---

Top Contributors

[![Clarence-pan](https://avatars.githubusercontent.com/u/8750132?v=4)](https://github.com/Clarence-pan "Clarence-pan (12 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/clarence-restful/health.svg)

```
[![Health](https://phpackages.com/badges/clarence-restful/health.svg)](https://phpackages.com/packages/clarence-restful)
```

PHPackages © 2026

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