nanolibs/http

request component

v1.0.1 2025-03-07 18:03 UTC

This package is not auto-updated.

Last update: 2025-06-27 19:34:26 UTC


README

Latest Stable Version Total Downloads License  Build Status

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

📦 Installation

Install via Composer:

composer require nanolibs/http

🚀 Features

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

🛠️ Usage

require 'vendor/autoload.php';

use NanoLibs\Http\RequestFactory;

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

📜 License

This package is released under the MIT License.