sperelson/prettyparam

Pretty GET params middleware for Laravel 5.5

0.9.2 2017-11-18 20:05 UTC

This package is not auto-updated.

Last update: 2025-06-28 19:36:40 UTC


README

PHP doesn't handle form submission with array fields nicely. If you're submitting the form via GET you end up with something like field%5B%5D=value_1&field%5B%5D=value_2. That's not pretty.

This middleware allows you to leave off the [] and end up with field=value_1&field=value_2. That's pretty.