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

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

nanolibs/http
=============

request component

v1.0.1(1y ago)02MITPHPCI failing

Since Mar 6Pushed 1y agoCompare

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

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

NanoLibs HTTP 🚀
===============

[](#nanolibs-http-)

[![Latest Stable Version](https://camo.githubusercontent.com/69b459de46dca664aa407dfbeee6f074d556f3465932ba4d214cebb6c9f4f918/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e616e6f6c6962732f687474702e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/69b459de46dca664aa407dfbeee6f074d556f3465932ba4d214cebb6c9f4f918/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e616e6f6c6962732f687474702e7376673f7374796c653d666c61742d737175617265) [![Total Downloads](https://camo.githubusercontent.com/44463f41d9eeaca5500d718528acdae694cf34018f253e476b021727d3d53820/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e616e6f6c6962732f687474702e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/44463f41d9eeaca5500d718528acdae694cf34018f253e476b021727d3d53820/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e616e6f6c6962732f687474702e7376673f7374796c653d666c61742d737175617265) [![License](https://camo.githubusercontent.com/89219a6835aee910096f9bdc528e664e6a5f73c02fcacf5ce41f218706d9c361/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e616e6f6c6962732f687474702e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/89219a6835aee910096f9bdc528e664e6a5f73c02fcacf5ce41f218706d9c361/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e616e6f6c6962732f687474702e7376673f7374796c653d666c61742d737175617265) [![ Build Status](https://camo.githubusercontent.com/5300b9d439804a27442df667bf53e156f1fd161c862b4b982b0d55795340022a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f4e616e6f4c6962732f687474702f74657374732e796d6c3f6c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/5300b9d439804a27442df667bf53e156f1fd161c862b4b982b0d55795340022a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f4e616e6f4c6962732f687474702f74657374732e796d6c3f6c6162656c3d7465737473267374796c653d666c61742d737175617265)

A lightweight and efficient HTTP package for PHP, designed for simplicity and flexibility. 🏗️

---

📦 Installation
--------------

[](#-installation)

Install via **Composer**:

```
composer require nanolibs/http
```

---

🚀 Features
----------

[](#-features)

✅ **Lightweight** – Minimal dependencies for fast performance.
✅ **PSR-7 Compatible** – Works seamlessly with modern PHP applications.
✅ **Flexible &amp; Extendable** – Easily customizable to fit your needs.
✅ **Well-Tested** – Ensures reliability with unit tests.

---

🛠️ Usage
--------

[](#️-usage)

```
require 'vendor/autoload.php';

use NanoLibs\Http\RequestFactory;

$request = new RequestFactory::create();
echo $request->getServer()->getMethod();
```

---

📜 License
---------

[](#-license)

This package is released under the **MIT License**.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance44

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

437d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/187fd4bea11672104d0624d63361dc16c6abba0ef332cfec69930ac69de16b5f?d=identicon)[imaarov](/maintainers/imaarov)

---

Top Contributors

[![imaarov](https://avatars.githubusercontent.com/u/63155176?v=4)](https://github.com/imaarov "imaarov (18 commits)")

---

Tags

componentphp

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/nanolibs-http/health.svg)](https://phpackages.com/packages/nanolibs-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)
