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

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

erandir/plug-http
=================

HTTP library for php

v2.0(4y ago)61.7k2[1 PRs](https://github.com/erandirjunior/plug-http/pulls)MITPHPPHP &gt;=7.4CI passing

Since May 4Pushed 3mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (14)Used By (0)

plug-http
=========

[](#plug-http)

[![Latest Stable Version](https://camo.githubusercontent.com/de903f2d56791580f8141ab814f649ba937461c0c81cd471fb6f72f015a915be/68747470733a2f2f706f7365722e707567782e6f72672f6572616e6469722f706c75672d687474702f762f737461626c65)](https://packagist.org/packages/erandir/plug-http)[![License](https://camo.githubusercontent.com/57dcdda9ce9aa2c702fdf874e31116bf82adbca4ddbe82d41aa0ae6c861a66e4/68747470733a2f2f706f7365722e707567782e6f72672f6572616e6469722f706c75672d687474702f6c6963656e7365)](https://packagist.org/packages/erandir/plug-http)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/754068f16604f622fae251dfc2f62465fb0dd55fe164d7464fdce1a829cd2d42/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6572616e6469726a756e696f722f706c75672d687474702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/erandirjunior/plug-http/?branch=master)[![Code Intelligence Status](https://camo.githubusercontent.com/39b19c28aacb1167e5f4793d5e2b0e59c0aef70ffcb8645099ac8a162125e5f3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6572616e6469726a756e696f722f706c75672d687474702f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)[![Build Status](https://camo.githubusercontent.com/28ad7acf0d7ff79559940206b29b92f9e23e3b42d096f90f03e02beffc0bebb7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6572616e6469726a756e696f722f706c75672d687474702f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/erandirjunior/plug-http/build-status/master)

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

[](#installation)

Just install with Composer

`composer require erandir/plug-http`

#### Powerful library for manipulate PHP Globals

[](#powerful-library-for-manipulate-php-globals)

> Use the library to work with REQUEST values.

> Manipulate BODY REQUEST in types as form-data, json and x-www-form-urlencoded

> Manipulate RESPONSE with json

> Manipulate GET values

> Manipulate SERVER values

> Manipulate FILES values

> Manipulate SESSION values

> Manipulate COOKIES values

> Manipulate SERVER values

> Manipulate ENV values

#### Learn More

[](#learn-more)

- [Full Documentation](https://github.com/erandirjunior/plug-http/blob/master/doc/installation.md)
- [Changelog](https://github.com/erandirjunior/plug-http/blob/master/doc/changelog.md)
- [Example](https://github.com/erandirjunior/plug-http/tree/master/example)

***To run the examples, clone this project, open the terminal and paste the code below:***

```
docker-compose up
```

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance54

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 99.2% 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 ~82 days

Recently: every ~200 days

Total

11

Last Release

1743d ago

Major Versions

v1.9 → v2.02021-08-01

PHP version history (2 changes)v1.0PHP &gt;=7.0

v1.9PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ba42e1ff95b3c688a4db3dabfd7743b1ce9858bca3d2418eb4667f0e457c267?d=identicon)[erandir](/maintainers/erandir)

---

Top Contributors

[![erandirjunior](https://avatars.githubusercontent.com/u/13579247?v=4)](https://github.com/erandirjunior "erandirjunior (131 commits)")[![eduardofg87](https://avatars.githubusercontent.com/u/38121716?v=4)](https://github.com/eduardofg87 "eduardofg87 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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