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

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

mk4u/http
=========

Small HTTP library

1.3.2(3mo ago)41971MITPHPPHP &gt;=8.2

Since Apr 29Pushed 1mo ago2 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (21)Used By (1)

Mk4U\\Http
==========

[](#mk4uhttp)

[![GitHub Release](https://camo.githubusercontent.com/eadcf37e85514a22ca5cc217d4afb2eb52a1ab22234a4d063b72a9529dce3422/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f616c3378356465762f687474703f696e636c7564655f70726572656c6561736573267374796c653d666c61742d73717561726526636f6c6f723d626c7565)](https://camo.githubusercontent.com/eadcf37e85514a22ca5cc217d4afb2eb52a1ab22234a4d063b72a9529dce3422/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f616c3378356465762f687474703f696e636c7564655f70726572656c6561736573267374796c653d666c61742d73717561726526636f6c6f723d626c7565)[![GitHub code size in bytes](https://camo.githubusercontent.com/138db9c975b77ba45c43be2fd22471809b699fe116776d1a3ce746d1c7ad64e4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f616c3378356465762f687474703f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/138db9c975b77ba45c43be2fd22471809b699fe116776d1a3ce746d1c7ad64e4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f616c3378356465762f687474703f7374796c653d666c61742d737175617265)[![GitHub License](https://camo.githubusercontent.com/7f97cd1d7794e44d7de97c8028a26fbeef33189cc5b71de8f9044844409831a3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f616c3378356465762f687474703f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/7f97cd1d7794e44d7de97c8028a26fbeef33189cc5b71de8f9044844409831a3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f616c3378356465762f687474703f7374796c653d666c61742d737175617265)

This small library provides a simple and easy to use interface for creating, sending and receiving HTTP requests and responses. Although many of the concepts of the PSR-7 standard are present in this library, it is not intended to seek compatibility with that recommendation.

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

[](#installation)

The installation of this library can be done with Composer:

```
composer require mk4u/http
```

Usage
-----

[](#usage)

This library provides a variety of functions to simplify the management of the input and output of your application or API. It also provides the essential tools to work efficiently with HTTP protocols.

For more details, please refer to the documentation:

- [Mk4U\\Http\\Client.php](https://github.com/al3x5dev/http/blob/main/docs/client.md)
- [Mk4U\\Http\\Cookie.php](https://github.com/al3x5dev/http/blob/main/docs/cookie.md)
- [Mk4U\\Http\\Headers.php](https://github.com/al3x5dev/http/blob/main/docs/headers.md)
- [Mk4U\\Http\\Request.php](https://github.com/al3x5dev/http/blob/main/docs/request.md)
- [Mk4U\\Http\\Response.php](https://github.com/al3x5dev/http/blob/main/docs/response.md)
- [Mk4U\\Http\\Session.php](https://github.com/al3x5dev/http/blob/main/docs/session.md)
- [Mk4U\\Http\\Status.php](https://github.com/al3x5dev/http/blob/main/docs/status.md)
- [Mk4U\\Http\\Stream.php](https://github.com/al3x5dev/http/blob/main/docs/stream.md)
- [Mk4U\\Http\\UploadedFile.php](https://github.com/al3x5dev/http/blob/main/docs/uploadedfile.md)
- [Mk4U\\Http\\Uri.php](https://github.com/al3x5dev/http/blob/main/docs/uri.md)

Contribute
----------

[](#contribute)

Your contributions are welcome! If you encounter any problems or have any improvements to suggest, please open an issue or send a pull request.

License
-------

[](#license)

This project is licensed under the [MIT License](https://github.com/al3x5dev/http?tab=MIT-1-ov-file).

Contact
-------

[](#contact)

If you have any questions or comments, feel free to contact me at [Telegram](http://t.me/al3x5dev).

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance86

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Recently: every ~12 days

Total

18

Last Release

46d ago

Major Versions

v0.x-dev → v1.2.12025-01-17

1.3.2 → v2.x-dev2026-04-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/ee7388f72cf6dfb30d963374d1faf32cdc320751d19c0dc0ce752a55179d1eb3?d=identicon)[Al3x5](/maintainers/Al3x5)

---

Top Contributors

[![al3x5dev](https://avatars.githubusercontent.com/u/139165436?v=4)](https://github.com/al3x5dev "al3x5dev (167 commits)")

---

Tags

curlhttphttp-clienthttp-libraryhttp-requestshttp-responsemk4uphpphp-libraryphp8

### Embed Badge

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

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

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

7.9k1.0B3.2k](/packages/guzzlehttp-psr7)[friendsofsymfony/rest-bundle

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

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

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

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)[paragonie/csp-builder

Easily add and update Content-Security-Policy headers for your project

5412.8M18](/packages/paragonie-csp-builder)

PHPackages © 2026

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