rize/uri-template
RFC 6570 URI Template implementation for PHP. Expand templates into URLs and extract variables from matching URIs. Supports all expression types/levels, path segment and query expansions, plus base URI and default parameters—handy for building API endpoints.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| stduritemplate/stduritemplate | 0.88 | Lightweight PHP implementation of RFC 6570 URI Templates. Expand templates with variables to build safe, predictable URLs for APIs and routing. Simple API, minimal dependencies, and suitable for Laravel or any PHP project needing standards-based URI templating. | 4 | 3 | 0 | 299K | 0 | 0.0 | 55.3 | — | — | |
| league/uri | 0.84 | League URI provides simple, intuitive PHP 8.1+ classes to parse, validate, normalize, and manipulate URIs and related components. Supports PSR-7 interoperability, IDN hosts (intl/polyfill), IPv4 conversion, and HTML URI handling. | 1,134 | 1,166 | 71 | 12M | 0 | 29.3 | 61.2 | MIT | 4 months ago | |
| boson-php/uri | 0.84 | Boson URI is a small PHP library for parsing, building, normalizing, and comparing URIs. Provides immutable URI objects, convenient accessors for scheme/host/path/query/fragment, and helpers for resolving and manipulating URLs in a safe, standards-friendly way. | 0 | 0 | 0 | 69 | 0 | 0.0 | 25.5 | MIT | — | |
| zenstruck/uri | 0.83 | Immutable, fluent URI/URL value objects for PHP with easy parsing, building, and modification of URIs. Create, normalize, and manipulate components (scheme, host, path, query, fragment) safely, with helpers for encoding and query params. | 16 | 16 | 1 | 4K | 1 | 12.0 | 35.0 | MIT | 7 months ago | |
| ibexa/templated-uri-bundle | 0.82 | Symfony bundle providing an RFC-6570 (URI Template) compatible router and URL generator via hautelook/TemplatedUriRouter. Exposes a templated router service to generate links like /demo?{&page}{&sort*}{&filter*} from route params. | 3 | 3 | 1 | 30K | 0 | 0.1 | 53.6 | MIT | — | |
| guzzlehttp/uri-template | 0.81 | 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. | 197 | 197 | 8 | 11M | 0 | 25.6 | 64.9 | MIT | 2 weeks ago |
How can I help you explore Laravel packages today?