guzzlehttp/uri-template
Expands RFC 6570 URI templates into concrete URI strings in PHP, turning templates like /users/{id}{?tab} into real paths with query strings from an array of values.
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?