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\UriTemplate class in this packageHow can I help you explore Laravel packages today?