PHPackages                             bisanedev/php-request-parser - 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. bisanedev/php-request-parser

ActiveLibrary

bisanedev/php-request-parser
============================

The missing php functionality to support put, patch, delete, put FORM and MULTIPART requests handling

1.05(2y ago)0598MITPHPPHP &gt;=8.0

Since Mar 9Pushed 2y agoCompare

[ Source](https://github.com/bisanedev/php-request-parser)[ Packagist](https://packagist.org/packages/bisanedev/php-request-parser)[ RSS](/packages/bisanedev-php-request-parser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (8)Used By (0)

PHP Request Parser
==================

[](#php-request-parser)

The missing php functionality to support **put**, **patch**, **delete**, **put**, **FORM** and **MULTIPART** requests handling

[![Latest Stable Version](https://camo.githubusercontent.com/fa247ebe433db2eebe1ed9f550ea507f5ccb52f74f0a7f2accf554d4d437e761/687474703a2f2f706f7365722e707567782e6f72672f6e6f7469686e696f2f7068702d726571756573742d7061727365722f76)](https://packagist.org/packages/notihnio/php-request-parser) [![Total Downloads](https://camo.githubusercontent.com/d10a82dc25f0dafa8e441d5f394c934bbcaa5aa4dd43761168a2f7e94f87e346/687474703a2f2f706f7365722e707567782e6f72672f6e6f7469686e696f2f7068702d726571756573742d7061727365722f646f776e6c6f616473)](https://packagist.org/packages/notihnio/php-request-parser) [![License](https://camo.githubusercontent.com/1a55a6c6ede9dc80e1a1772acabdb61818b6937254c5cd50042fa96ee0e0ebbd/687474703a2f2f706f7365722e707567782e6f72672f6e6f7469686e696f2f7068702d726571756573742d7061727365722f6c6963656e7365)](https://packagist.org/packages/notihnio/php-request-parser) [![PHP Version Require](https://camo.githubusercontent.com/7727fc07510f28b78b325bb42a6dd89f0302bea1c5d9e8a3549fd1c52f332e41/687474703a2f2f706f7365722e707567782e6f72672f6e6f7469686e696f2f7068702d726571756573742d7061727365722f726571756972652f706870)](https://packagist.org/packages/notihnio/php-request-parser)[![example workflow](https://github.com/notihnio/php-request-parser/actions/workflows/run_tests.yml/badge.svg)](https://github.com/notihnio/php-request-parser/actions/workflows/run_tests.yml/badge.svg)

Install
-------

[](#install)

```
composer require notihnio/php-request-parser:^2.0

```

Usage
-----

[](#usage)

```
use Notihnio\RequestParser\RequestParser;

$request = RequestParser::parse();

//to access params use
$params = $request->params;

//to access uploaded files
$files = $request->files;

//to access headers use
$headers = $request->headers;

//to access cookies use
$cookies = $request->cookies;

```

Support for Symfony, Laravel in combination with Swoole, Roadrunner
-------------------------------------------------------------------

[](#support-for-symfony-laravel-in-combination-with-swoole-roadrunner)

If you want to use New Era application servers like Roadrunner or Swoole it's highly recommended passing Laravel or Symfony request instance, as parameter, in order to avoid memory leaks

```
//laravel
use \Illuminate\Http\Request;

//$request found from controller
$parsedRequest = RequestParser::parse($request);

```

```
//symfony
use \Symfony\Component\HttpFoundation\Request

//$request found from controller
$parsedRequest = RequestParser::parse($request);

```

Atlernative Usage
-----------------

[](#atlernative-usage)

```
use Notihnio\RequestParser\RequestParser;

RequestParser::parse();

//to access params
$params = $_PUT or ($_DELETE, $_PATCH etc.. according to the request type)

//to access uploaded files
$files = $_FILES

```

Authors
-------

[](#authors)

- **Notis Mastrandrikos**

License
-------

[](#license)

This project is licensed under the MIT License

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.7% 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 ~35 days

Recently: every ~43 days

Total

6

Last Release

992d ago

### Community

Maintainers

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

---

Top Contributors

[![notihnio](https://avatars.githubusercontent.com/u/1547486?v=4)](https://github.com/notihnio "notihnio (64 commits)")[![bisanedev](https://avatars.githubusercontent.com/u/11086777?v=4)](https://github.com/bisanedev "bisanedev (9 commits)")

### Embed Badge

![Health badge](/badges/bisanedev-php-request-parser/health.svg)

```
[![Health](https://phpackages.com/badges/bisanedev-php-request-parser/health.svg)](https://phpackages.com/packages/bisanedev-php-request-parser)
```

PHPackages © 2026

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