PHPackages                             kdubuc/query-string-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. [API Development](/categories/api)
4. /
5. kdubuc/query-string-parser

ActiveLibrary[API Development](/categories/api)

kdubuc/query-string-parser
==========================

PSR15 Query String Parser

v1.2.2(2y ago)03.9k↓50%1CECILL-2.1PHPPHP ^7.1 || ^8.0

Since Dec 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/kdubuc/query-string-parser-psr15)[ Packagist](https://packagist.org/packages/kdubuc/query-string-parser)[ Docs](https://github.com/kdubuc/query-string-parser)[ RSS](/packages/kdubuc-query-string-parser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (5)Versions (6)Used By (0)

Query String Parser
===================

[](#query-string-parser)

If multiple fields of the same name exist in a query string, every other web processing language would read them into an array, but PHP silently overwrites them ([source](https://www.php.net/manual/en/function.parse-str.php#76792)). PSR-15 Middleware parse query string and keep duplicates in PSR7 URI Query.

Install
-------

[](#install)

Via Composer

```
$ composer require kdubuc/query-string-parser
```

Testing
-------

[](#testing)

```
$ vendor/bin/phpunit tests/
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Kévin DUBUC](https://github.com/kdubuc)
- [All Contributors](https://github.com/kdubuc/query-string-parser/graphs/contributors)

License
-------

[](#license)

The CeCILL-B License. Please see [License File](LICENSE.md) for more information.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

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

Total

5

Last Release

787d ago

PHP version history (2 changes)v1.0PHP ^7.1

v1.2PHP ^7.1 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/28f3584f827147e98199dbdd7fd524a17831006792f6c0fac136b5d591d0d6bf?d=identicon)[kdubuc](/maintainers/kdubuc)

---

Top Contributors

[![kdubuc](https://avatars.githubusercontent.com/u/895661?v=4)](https://github.com/kdubuc "kdubuc (7 commits)")

---

Tags

psr-15query-stringquery-stringparse\_strpsr7psr15

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kdubuc-query-string-parser/health.svg)

```
[![Health](https://phpackages.com/badges/kdubuc-query-string-parser/health.svg)](https://phpackages.com/packages/kdubuc-query-string-parser)
```

###  Alternatives

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[saloonphp/saloon

Build beautiful API integrations and SDKs with Saloon

2.4k9.6M468](/packages/saloonphp-saloon)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69433.0M114](/packages/algolia-algoliasearch-client-php)[league/uri-interfaces

Common tools for parsing and resolving RFC3987/RFC3986 URI

536204.9M23](/packages/league-uri-interfaces)[thecodingmachine/graphqlite

Write your GraphQL queries in simple to write controllers (using webonyx/graphql-php).

5723.1M30](/packages/thecodingmachine-graphqlite)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)

PHPackages © 2026

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