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

AbandonedArchivedLibrary

offshoot/http
=============

A very similar library for working with HTTP requests

08.7k↓60.6%11PHP

Since Jan 30Pushed 11y ago3 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (1)

http
====

[](#http)

Requirements
------------

[](#requirements)

- PHP 5.3 (or higher)
- ext-curl, ext-json

Development Requirements
------------------------

[](#development-requirements)

- phpunit/phpunit 3.7

Getting Started
---------------

[](#getting-started)

TBD

### Using cURL

[](#using-curl)

If you're using a cURL based HttpClient like the `CurlHttpClient`, you will want to include the cacert.pem file that can be found at

You can add this as a dependency in your composer file. Your `composer.json`might look something like this:

```
{
  "require": {
    "offshoot/http": "0.1.x",
    "haxx-se/curl": "1.0.0"
  },
  "repositories": [
    {
      "type": "package",
      "package": {
        "name": "haxx-se/curl",
        "version": "1.0.0",
        "dist": {
          "url": "http://curl.haxx.se/ca/cacert.pem",
          "type": "file"
        }
      }
    }
  ]
}

```

You will be able to find the cacert.pem file in `vendor/haxx-se/curl/cacert.pem`

Usage
-----

[](#usage)

```
$pathToCertificateFile = "vendor/haxx-se/curl/cacert.pem";
$httpClient = new \Offshoot\HttpClient\CurlHttpClient($pathToCertificateFile);

$redirector = new \Offshoot\Redirector\HeaderRedirector();

```

Contributing
------------

[](#contributing)

Contributions are welcome. Just fork the repository and send a pull request. Please be sure to include test coverage with your pull request. You can learn more about Pull Requests [here](https://help.github.com/articles/creating-a-pull-request)

In order to run the test suite, ensure that the development dependencies have been installed via composer. Then from your command line, simple run:

```
vendor/bin/phpunit --bootstrap tests/bootstrap.php tests/

```

License
-------

[](#license)

This library is released under the [MIT License](https://github.com/TeamOffshoot/http/blob/master/LICENSE)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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