PHPackages                             rymanalu/http - 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. rymanalu/http

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

rymanalu/http
=============

Simple HTTP Client library powered by Guzzle.

v0.2.1(9y ago)135MITPHPPHP &gt;=5.5.9

Since Dec 29Pushed 9y ago1 watchersCompare

[ Source](https://github.com/rymanalu/http)[ Packagist](https://packagist.org/packages/rymanalu/http)[ Docs](https://github.com/rymanalu/http)[ RSS](/packages/rymanalu-http/feed)WikiDiscussions 0.2 Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (6)Used By (0)

Simple HTTP Client library powered by Guzzle
============================================

[](#simple-http-client-library-powered-by-guzzle)

[![Build Status](https://camo.githubusercontent.com/c3e43c55e18103c1e596e0b793107884e54df24cafb5fa69bab2b71763bedc42/68747470733a2f2f7472617669732d63692e6f72672f72796d616e616c752f687474702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rymanalu/http)

This package provides a new way to use [GuzzleHttp](https://packagist.org/packages/guzzlehttp/guzzle) package.

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

[](#installation)

Install this package via the Composer package manager:

```
composer require rymanalu/http

```

Usage
-----

[](#usage)

Case: we want to call `http://foo.com/bar` API.

Steps:

- Create a new endpoint by extending `Rymanalu\Http\Endpoint`. For example:

```
use Rymanalu\Http\Endpoint;

class BarEndpoint extends Endpoint
{
    /**
     * The endpoint's URI.
     *
     * @var string
     */
    protected $uri = 'bar';

    /**
     * The endpoint's method.
     *
     * @var string
     */
    protected $method = 'POST';
}
```

- Create a new `Rymanalu\Http\Client` instance:

```
$http = new Rymanalu\Http\Client('http://foo.com');
```

- Call the `call` method in the `Rymanalu\Http\Client` instance by giving the `BarEndpoint` instance:

```
$endpoint = new BarEndpoint; // or `new BarEndpoint($anArrayOfGuzzleOptions)`

$response = $http->call($endpoint);
```

- The `$response` will be an object of `Rymanalu\Http\Response`:

```
// Check if the calls is successful by the response code...
$response->isSuccessful(); // `true` or `false`

// Get the response body...
$response->getBody(); // object of `stdClass`
$response->getBody(true); // array
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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 ~23 days

Total

5

Last Release

3327d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f4048e24bca6c111b9d24a6937ed5fab26e5913d8985fc8460572942cd1b71c6?d=identicon)[rymanalu](/maintainers/rymanalu)

---

Top Contributors

[![rymanalu](https://avatars.githubusercontent.com/u/6141573?v=4)](https://github.com/rymanalu "rymanalu (4 commits)")

---

Tags

httpGuzzle

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rymanalu-http/health.svg)

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

###  Alternatives

[kevinrob/guzzle-cache-middleware

A HTTP/1.1 Cache for Guzzle 6. It's a simple Middleware to be added in the HandlerStack. (RFC 7234)

43117.4M104](/packages/kevinrob-guzzle-cache-middleware)[php-http/guzzle7-adapter

Guzzle 7 HTTP Adapter

9057.1M554](/packages/php-http-guzzle7-adapter)[graham-campbell/guzzle-factory

Provides A Simple Guzzle Factory With Good Defaults

916.4M49](/packages/graham-campbell-guzzle-factory)[graze/guzzle-jsonrpc

JSON-RPC 2.0 client for Guzzle

981.2M24](/packages/graze-guzzle-jsonrpc)[kozz/laravel-guzzle-provider

Guzzle 5/6 Service Provider for Laravel

621.1M2](/packages/kozz-laravel-guzzle-provider)[amphp/http-client-guzzle-adapter

Guzzle adapter for Amp's HTTP client.

1523.6k1](/packages/amphp-http-client-guzzle-adapter)

PHPackages © 2026

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