PHP URI Template (RFC 6570) supports both URI expansion & extraction
rize/UriTemplate has 419 GitHub stars.
It currently ranks #9602 daily, #10745 weekly, #14462 monthly by momentum on Trending Repos; its best-ever rank is #2926.