guzzlehttp/uri-template
RFC 6570 URI Template expansion for PHP. Build URLs by substituting variables into templates, handling reserved characters, query strings, and fragments. Lightweight Guzzle component installable via Composer, with tests and changelog included.
InvalidArgumentException instead of expanding partiallyUriTemplate is now non-instantiable; use UriTemplate::expand() staticallyInvalidArgumentException1 and 0 at every nesting levelInvalidArgumentException instead of expanding as INF or NANUriTemplate now rejects native PHP serialization and unserialization__toString() now surface while values are formed, before any output existsArray outputname= instead of bare namename= instead of bare name for unnamed operatorsname instead of name= for empty joined members0 as an expanded valueGuzzleHttp\Utility\ to GuzzleHttp\UriTemplate\This is the first release of where we move the UriTemplate class from guzzlehttp/guzzle in a separate package here.
Tagging as a zero version to allow any breaking changes to next releases.
Please test this out and report any issue.
How can I help you explore Laravel packages today?