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

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

phpgt/http
==========

PSR-7 HTTP message implementation.

v1.3.8(2mo ago)116.1k↑73.1%[4 issues](https://github.com/PhpGt/Http/issues)[1 PRs](https://github.com/PhpGt/Http/pulls)7MITPHPPHP &gt;=8.4CI passing

Since Nov 28Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/PhpGt/Http)[ Packagist](https://packagist.org/packages/phpgt/http)[ GitHub Sponsors](https://github.com/sponsors/PhpGt)[ RSS](/packages/phpgt-http/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (26)Versions (40)Used By (7)

PSR-7 HTTP message implementation.
==================================

[](#psr-7-http-message-implementation)

HTTP messages are the foundation of web development. Web browsers and HTTP clients such as cURL create HTTP request messages that are sent to a web server, which provides an HTTP response message. Server-side code receives an HTTP request message, and returns an HTTP response message.

Whatever tool kit a PHP web application is built upon, HTTP messages always behave in the same way. PSR-7 is a set of PHP interfaces defined by the [PHP Framework Interop Group](https://www.php-fig.org/psr/psr-7/) in order to produce code that can be shared between application implementations.

This repository is an implementation of the PSR-7 interfaces for use within PHP.Gt/WebEngine, but can be used in any other PHP web application thanks to the interoperability of PSR-7.

---

[ ![PHP.Gt/Http build status](https://camo.githubusercontent.com/9d7f75360a5fab1f8a7686ff636044705b60241dc98a34a070c0b9c0f84ff675/68747470733a2f2f62616467652e7374617475732e7068702e67742f687474702d6275696c642e737667)](https://github.com/PhpGt/Http/actions)[ ![PHP.Gt/Http code quality](https://camo.githubusercontent.com/0a1caa398985c88f979c480e1ab1d6502bf0cdd1f05667e9a8175eaa39edfec4/68747470733a2f2f62616467652e7374617475732e7068702e67742f687474702d7175616c6974792e737667)](https://app.codacy.com/gh/PhpGt/Http)[ ![PHP.Gt/Http code coverage](https://camo.githubusercontent.com/c6f79ae079e08617ff73030481788b5fe2e6184627e33eca0efca7888cb83a07/68747470733a2f2f62616467652e7374617475732e7068702e67742f687474702d636f7665726167652e737667)](https://app.codecov.io/gh/PhpGt/Http)[ ![PHP.Gt/Http latest release](https://camo.githubusercontent.com/d5e57b56b16aa22570b9bc66555d1e9bc07e6408406fcc991e5332db962054ca/68747470733a2f2f62616467652e7374617475732e7068702e67742f687474702d76657273696f6e2e737667)](https://packagist.PhpGt/packages/PhpGt/Http)[ ![PHP.Gt/Http documentation](https://camo.githubusercontent.com/03822422619017fda4e349e6adf9ffa7d23cf47c79352bed2cf8d647bceabb3a/68747470733a2f2f62616467652e7374617475732e7068702e67742f687474702d646f63732e737667)](http://www.php.gt/Http)Proudly sponsored by
====================

[](#proudly-sponsored-by)

[JetBrains Open Source sponsorship program](https://www.jetbrains.com/community/opensource/)

[![JetBrains logo.](https://camo.githubusercontent.com/b5639e7738c6dfae9fe3f3e20175570b7376ce2577a772e09c25c2d4f14bf86e/68747470733a2f2f7265736f75726365732e6a6574627261696e732e636f6d2f73746f726167652f70726f64756374732f636f6d70616e792f6272616e642f6c6f676f732f6a6574627261696e732e737667)](https://www.jetbrains.com/community/opensource/)

###  Health Score

56

—

FairBetter than 98% of packages

Maintenance68

Regular maintenance activity

Popularity28

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity93

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~80 days

Total

34

Last Release

60d ago

Major Versions

v0.3.0 → v1.0.02019-06-19

PHP version history (6 changes)v0.0.2PHP &gt;=7.1

v0.2.0PHP &gt;=7.2

v1.1.4PHP &gt;=8.0

v1.1.7PHP &gt;=8.1

v1.3.2PHP &gt;=8.3

v1.3.6PHP &gt;=8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e42344b91ce4b91ab57875969f67a0a6a48de570a08bc65d673b06b72fd3a3f?d=identicon)[g105b](/maintainers/g105b)

---

Top Contributors

[![g105b](https://avatars.githubusercontent.com/u/358014?v=4)](https://github.com/g105b "g105b (30 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (24 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (4 commits)")

---

Tags

http-messagehttp-requesthttp-responsephpgtpsr-7uri

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k48.1M236](/packages/api-platform-core)[league/uri-interfaces

Common tools for parsing and resolving RFC3987/RFC3986 URI

536204.9M23](/packages/league-uri-interfaces)[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)[api-platform/symfony

Symfony API Platform integration

323.2M67](/packages/api-platform-symfony)[laudis/neo4j-php-client

Neo4j-PHP-Client is the most advanced PHP Client for Neo4j

184616.9k31](/packages/laudis-neo4j-php-client)[phpgt/fetch

Asynchronous HTTP client with promises.

3724.0k3](/packages/phpgt-fetch)

PHPackages © 2026

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