kdubuc / query-string-parser
PSR15 Query String Parser
Installs: 2 655
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 0
Requires
- php: ^7.1 || ^8.0
- guzzlehttp/psr7: ^1.5 || ^2.0
- psr/http-message: ^1.0
- psr/http-server-middleware: ^1.0
Requires (Dev)
- kdubuc/php-cs-fixer-rules: ^1.0
- phpunit/phpunit: ^8.0
README
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). PSR-15 Middleware parse query string and keep duplicates in PSR7 URI Query.
Install
Via Composer
$ composer require kdubuc/query-string-parser
Testing
$ vendor/bin/phpunit tests/
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email kevindubuc62@gmail.com instead of using the issue tracker.
Credits
License
The CeCILL-B License. Please see License File for more information.