Registry / networking / guzzlehttp-uri-template

guzzlehttp-uri-template

JSON →
library1.0.7phppackagistunverified

A polyfill class for uri_template of PHP

composer require guzzlehttp/uri-template
INSTALL
IMPORT
SIG · GUZZLEHTTP-URI-TEM
G
guzzlehttp-uri-template
networkingphpv1.0.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

UriTemplate
use GuzzleHttp\UriTemplate\UriTemplate;

Expand a URI template with parameters

use GuzzleHttp\UriTemplate\UriTemplate; $template = new UriTemplate(); echo $template->expand('http://example.com/{path}', ['path' => 'foo']);
Debug
Known issues
gotchaPolyfill only activates if native uri_template is missing
fix
Ensure no other uri_template implementation conflicts
affects: >=1.0.0
Upgrade
Version history
1.0.7latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
guzzlehttp-uri-template — pip install guzzlehttp-uri-template · libregistry