guzzlehttp/uri-template
RFC 6570 URI Template expansion for PHP. Build URLs by expanding templates with variables, supporting reserved, fragment, label, path, query, and form-style operators. Lightweight component from the Guzzle ecosystem.
where clauses, dynamic query building).Adopt if:
where conditions with sub-arrays) or dynamic query building (e.g., API filters, search functionality).?, &, #) or percent-encoded values.Look elsewhere if:
For Executives: "This package fixes critical bugs in query construction—especially for nested data and URL parameters—which could cause silent failures in our [high-risk feature/integration]. By adopting it, we eliminate technical debt in our PHP 8.5+ roadmap, reduce support costs from query-related issues, and future-proof our database layer. The fixes directly address [specific pain point, e.g., ‘reporting tool failures’ or ‘payment processing errors’], with minimal dev effort."
For Engineering: *"v1.0.6 resolves three high-impact bugs:
where(['or' => []])).?, #) in fragment values are preserved correctly.
This is a low-risk upgrade for teams using dynamic queries. If you’re hitting edge cases in [specific module], prioritize testing this—it’s a drop-in fix."*How can I help you explore Laravel packages today?