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
Requires
- php: >=7.0.0
- laravel/framework: 5.5.*
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.