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

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

opis/http
=========

Http abstraction

3.0.2(6y ago)101.6k32Apache-2.0PHPPHP ^7.1

Since Dec 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/opis/http)[ Packagist](https://packagist.org/packages/opis/http)[ Docs](http://opis.io)[ RSS](/packages/opis-http/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (2)Versions (19)Used By (2)

Opis Http
=========

[](#opis-http)

[![Build Status](https://camo.githubusercontent.com/422497c74f036bb266900327f5e85a4dc0a8aa4f27127783aa60fbee8f2aa5de/68747470733a2f2f7472617669732d63692e6f72672f6f7069732f687474702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/opis/http)[![Latest Stable Version](https://camo.githubusercontent.com/411031486b17cc5daf7b62a6729e152eaa6211da2f057b9dfbf79862ea8c24c4/68747470733a2f2f706f7365722e707567782e6f72672f6f7069732f687474702f76657273696f6e2e706e67)](https://packagist.org/packages/opis/http)[![Latest Unstable Version](https://camo.githubusercontent.com/6d7f38903db8967467d3ecd4023de8d2cff6169c43c0effbd690d8557e32444f/68747470733a2f2f706f7365722e707567782e6f72672f6f7069732f687474702f762f756e737461626c652e706e67)](https://packagist.org/packages/opis/http)[![License](https://camo.githubusercontent.com/87ca86474573fa988741f2e88b797e95cd7f47a71971728ef1a0cfb0d0063090/68747470733a2f2f706f7365722e707567782e6f72672f6f7069732f687474702f6c6963656e73652e706e67)](https://packagist.org/packages/opis/http)

HTTP abstraction layer
----------------------

[](#http-abstraction-layer)

**Opis HTTP** is a library that provides an object-oriented representation for HTTP requests and responses. The library was designed to be small, efficient, and easy to work with.

### Documentation

[](#documentation)

The full documentation for this library can be found [here](https://www.opis.io/http).

### License

[](#license)

**Opis Http** is licensed under the [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0 "Apache License").

### Requirements

[](#requirements)

- PHP ^7.1
- [Opis Stream](https://github.com/opis/stream)

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

[](#installation)

**Opis Http** is available on [Packagist](https://packagist.org/packages/opis/http "Packagist") and it can be installed from a command line interface by using [Composer](https://getcomposer.org "Composer").

```
composer require opis/http
```

Or you could directly reference it into your `composer.json` file as a dependency

```
{
    "require": {
        "opis/http": "^3.0"
    }
}
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 82.8% 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 ~160 days

Recently: every ~319 days

Total

17

Last Release

1958d ago

Major Versions

1.3.3 → 2.0.02015-10-31

2.0.2 → 3.0.02018-10-16

3.0.2 → 2020.x-dev2021-01-03

PHP version history (3 changes)1.0.0PHP &gt;=5.3.0

3.0.0PHP ^7.1

2020.x-devPHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/47afaf3c711dd321c8d09bae2afed928971ec9e9a7593c925749696f04d2fddd?d=identicon)[msarca](/maintainers/msarca)

![](https://www.gravatar.com/avatar/7c720b40eb280d9fd33cc35d74c34b3763c2777bd2502d094625faa367f0dca4?d=identicon)[sorinsarca](/maintainers/sorinsarca)

---

Top Contributors

[![msarca](https://avatars.githubusercontent.com/u/5808737?v=4)](https://github.com/msarca "msarca (140 commits)")[![sorinsarca](https://avatars.githubusercontent.com/u/3427195?v=4)](https://github.com/sorinsarca "sorinsarca (29 commits)")

---

Tags

httpresponserequestopishttp abstraction

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.0B3.2k](/packages/guzzlehttp-psr7)[psr/http-message

Common interface for HTTP messages

7.1k1.0B5.5k](/packages/psr-http-message)[psr/http-factory

PSR-17: Common interfaces for PSR-7 HTTP message factories

1.9k692.9M1.9k](/packages/psr-http-factory)[fig/http-message-util

Utility classes and constants for use with PSR-7 (psr/http-message)

39489.0M274](/packages/fig-http-message-util)[nette/http

🌐 Nette Http: abstraction for HTTP request, response and session. Provides careful data sanitization and utility for URL and cookies manipulation.

48619.2M541](/packages/nette-http)[psr/http-server-handler

Common interface for HTTP server-side request handler

175101.3M921](/packages/psr-http-server-handler)

PHPackages © 2026

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