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

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

mulertech/http-request
======================

This package manage http requests

v1.0.0(1y ago)02431MITPHPPHP &gt;=8.2CI passing

Since Mar 23Pushed 2mo ago1 watchersCompare

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

READMEChangelog (2)Dependencies (5)Versions (4)Used By (1)

Http Request
============

[](#http-request)

---

[![Latest Version on Packagist](https://camo.githubusercontent.com/d27657b20eeb7da0dc84e9d3333a4c65c1be917d183e53574d4eab86994660d8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d756c6572746563682f687474702d726571756573742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mulertech/http-request)[![GitHub Tests Action Status](https://camo.githubusercontent.com/a658289560e55bdf292909fc1dcf05a5e4ea75cd27ad74211e815af786535377/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d756c6572746563682f687474702d726571756573742f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/mulertech/http-request/actions/workflows/tests.yml)[![GitHub PHPStan Action Status](https://camo.githubusercontent.com/046808f4edea78b0424f375d9233afff42040134bae5bde3dea2d9c8426b6704/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d756c6572746563682f687474702d726571756573742f7068707374616e2e796d6c3f6272616e63683d6d61696e266c6162656c3d7068707374616e267374796c653d666c61742d737175617265)](https://github.com/mulertech/http-request/actions/workflows/phpstan.yml)[![Total Downloads](https://camo.githubusercontent.com/26bcf9f405d417e8fcf2965cdd365c7f55e261d6688e5e65bd76bb3322896aba/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d756c6572746563682f687474702d726571756573742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mulertech/http-request)[![Test Coverage](https://raw.githubusercontent.com/mulertech/http-request/badge/badge-coverage.svg)](https://packagist.org/packages/mulertech/http-request)

---

This package is used to manage the request data.

---

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

[](#installation)

###### *Two methods to install Http Request package with composer :*

[](#two-methods-to-install-http-request-package-with-composer-)

1.

Add to your "**composer.json**" file into require section :

```
"mulertech/http-request": "^1.0"

```

and run the command :

```
php composer.phar update

```

2.

Run the command :

```
php composer.phar require mulertech/http-request "^1.0"

```

---

Usage
-----

[](#usage)

###### *Get key in session :*

[](#get-key-in-session-)

```
$session = new Session();
$session->get('key');

```

###### *Has key in session :*

[](#has-key-in-session-)

```
$session = new Session();
$session->has('key');

```

###### *Set key in session :*

[](#set-key-in-session-)

```
$session = new Session();
$session->set('key', 'value');

```

###### *Remove key in session :*

[](#remove-key-in-session-)

```
$session = new Session();
$session->remove('key');

```

###### *Add key in session :*

[](#add-key-in-session-)

This method is used to add a key in session if it does not exist.
If the key exists, it will be replaced by the new value only if the key is not an array.
If the key is an array, the new value will be added to the array.

```
$session = new Session();
$session->add('key', 'value');

```

###### *Add sub key in session :*

[](#add-sub-key-in-session-)

```
$session = new Session();
$session->add('key', 'value', 'path', 'to', 'subkey');

```

###### *Remove sub key in session :*

[](#remove-sub-key-in-session-)

```
$session = new Session();
$session->delete('key');

```

###### *Remove sub key in session :*

[](#remove-sub-key-in-session--1)

```
$session = new Session();
$session->delete('key', 'path', 'to', 'subkey');

```

###### *Get cookie data :*

[](#get-cookie-data-)

```
HttpRequest::getCookie('key');

```

###### *Has cookie :*

[](#has-cookie-)

```

HttpRequest::hasCookie('key');

```

###### *Get $\_GET data :*

[](#get-_get-data-)

```
HttpRequest::get('key');

```

###### *Has Get :*

[](#has-get-)

```
HttpRequest::has('key');

```

###### *Method :*

[](#method-)

```
HttpRequest::method();

```

###### *Get $\_POST data :*

[](#get-_post-data-)

```
HttpRequest::getPost('key');

```

###### *Has Post :*

[](#has-post-)

```
HttpRequest::hasPost('key');

```

###### *Get request uri :*

[](#get-request-uri-)

```
HttpRequest::getUri();

```

###### *Get request url :*

[](#get-request-url-)

```
HttpRequest::getUrl();

```

###### *Get post list string :*

[](#get-post-list-string-)

```
HttpRequest::getPostListString();

```

###### *Get post list :*

[](#get-post-list-)

```
HttpRequest::getPostList();

```

###### *Get $\_GET list :*

[](#get-_get-list-)

```
HttpRequest::getList();

```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance63

Regular maintenance activity

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.4% 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 ~218 days

Total

2

Last Release

659d ago

Major Versions

0.1.0 → v1.0.02024-10-27

PHP version history (2 changes)0.1.0PHP &gt;=7.4

v1.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/57788787?v=4)[Sébastien Muler](/maintainers/mulertech)[@mulertech](https://github.com/mulertech)

---

Top Contributors

[![mulertech](https://avatars.githubusercontent.com/u/57788787?v=4)](https://github.com/mulertech "mulertech (17 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

7.9k1.1B4.4k](/packages/guzzlehttp-psr7)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.8M179](/packages/algolia-algoliasearch-client-php)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k6.0M777](/packages/sylius-sylius)[gotenberg/gotenberg-php

A PHP client for interacting with Gotenberg, a developer-friendly API for converting numerous document formats into PDF files, and more!

3906.6M34](/packages/gotenberg-gotenberg-php)[google/cloud

Google Cloud Client Library

1.2k16.9M57](/packages/google-cloud)

PHPackages © 2026

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