sperelson/prettyparam

Pretty GET params middleware for Laravel 5.5

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/sperelson/prettyparam

0.9.2 2017-11-18 20:05 UTC

This package is not auto-updated.

Last update: 2025-12-27 22:13:56 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.