PHPackages                             messier1001/messier.httpclient - 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. messier1001/messier.httpclient

ActiveLibrary

messier1001/messier.httpclient
==============================

A simple fluent HTTP client.

0.1.0(9y ago)010MITPHPPHP &gt;=7.1

Since Mar 29Pushed 9y agoCompare

[ Source](https://github.com/Messier-1001/Messier.HttpClient)[ Packagist](https://packagist.org/packages/messier1001/messier.httpclient)[ RSS](/packages/messier1001-messierhttpclient/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Messier.HttpClient
==================

[](#messierhttpclient)

A small HTTP client (wrapper around curl) with a small code footprint and fluent access.

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

[](#installation)

```
composer require messier1001/messier.httpclient

```

or inside the `composer.json`:

```
{
   "require": {
      "php": ">=7.1",
      "messier1001/messier.httpclient": "^0.1.0"
   }
}
```

Usage
-----

[](#usage)

Sending a GET request
=====================

[](#sending-a-get-request)

```
try
{
   echo \Messier\HttpClient\Client::Create()
      ->setGetParameters( [ 'q' => 'Wetter Dresden' ] )
      ->sendGet( 'https://www.google.de/#' );
}
catch ( \Throwable $ex )
{
   echo $ex;
}
```

If some error is triggered a \\Messier\\HttpClient\\ClientException is thrown expecting a own error handling function is assigned.

Sending a POST request
----------------------

[](#sending-a-post-request)

```
echo \Messier\HttpClient\Client::Create()
   ->onError( function( $errorMessage ) { echo 'There was an error :-('; exit; } )
   ->sendPost( 'http://fooooo.baaaar.baaaaaaaazz', [ 'action' => 'foo' ] );
```

and much more :-)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

Unknown

Total

1

Last Release

3328d ago

### Community

---

Top Contributors

[![Messier-1001](https://avatars.githubusercontent.com/u/22859006?v=4)](https://github.com/Messier-1001 "Messier-1001 (1 commits)")[![ukadner](https://avatars.githubusercontent.com/u/129937296?v=4)](https://github.com/ukadner "ukadner (1 commits)")

### Embed Badge

![Health badge](/badges/messier1001-messierhttpclient/health.svg)

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

PHPackages © 2026

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