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

v2.0.0(4w ago)42261MITPHPPHP &gt;=8.5

Since Apr 29Pushed 4mo ago2 watchersCompare

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

READMEChangelog (10)Dependencies (6)Versions (24)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

49

—

FairBetter than 94% of packages

Maintenance85

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity69

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

Recently: every ~26 days

Total

21

Last Release

28d ago

Major Versions

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

v1.x-dev → v2.0.02026-07-21

PHP version history (2 changes)v0.1-betaPHP &gt;=8.2

v2.0.0PHP &gt;=8.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3009000?v=4)[Al3x5](/maintainers/Al3x5)[@al3x5](https://github.com/al3x5)

---

Top Contributors

[![al3x5dev](https://avatars.githubusercontent.com/u/139165436?v=4)](https://github.com/al3x5dev "al3x5dev (172 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.1B4.4k](/packages/guzzlehttp-psr7)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6943.5M449](/packages/drupal-core-recommended)[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25026.8M85](/packages/php-http-cache-plugin)[httpsoft/http-message

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

85997.3k131](/packages/httpsoft-http-message)[biganfa/php2curl

tiny lib to convert data from PHP request to cURL command, thus importing PHP request to Postman

262.1k](/packages/biganfa-php2curl)

PHPackages © 2026

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