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 today

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 31% of packages

Maintenance42

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

482d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/63155176?v=4)[Iman Atarof](/maintainers/imaarov)[@imaarov](https://github.com/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

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M91](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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