Advertisement · 728 × 90
#
Hashtag
#rfc3986
Advertisement · 728 × 90
The League\Uri\Modifier class wraps any URI object and perform the correct modification on the wrapped URI. After any applied modification you can access the changed URI using the Modifier::unwrap() method.
The method will always return an URI of the same instance of the one you give to the Modifier::wrap method.
The Modifier class works for League Uri own URI class but also for PSR-7 UriInterface implementing classes and PHP's new native URI classes.

The League\Uri\Modifier class wraps any URI object and perform the correct modification on the wrapped URI. After any applied modification you can access the changed URI using the Modifier::unwrap() method. The method will always return an URI of the same instance of the one you give to the Modifier::wrap method. The Modifier class works for League Uri own URI class but also for PSR-7 UriInterface implementing classes and PHP's new native URI classes.

Here's a sneak peak at what you will be able to do with version 7.6 of the PHP league uri toolkit.

The toolkit adds support for the new PHP URI extension and gives you a nice API to work with URI in PHP.

learn more on uri.thephpleague.com

#PHP #URI #RFC3986 #WHATWGURL

2 0 0 1
Preview
[RFC] [Vote] Add WHATWG compliant URL parsing API - Externals #externals - Opening PHP's #internals to the outside

It's official #PHP8.5 will get not one but two URI/URL compliant parsers 🎉 externals.io/message/1273... #RFC3986 #WHATWG-URL

0 0 0 0
PHP: rfc:url_parsing_api

#PHP may be the first language to correctly support #RFC3986 #URI and #WHATWG #URL at the same time if
RFC wiki.php.net/rfc/url_pars... passes.

I created a polyfill which works on PHP8.1+ github.com/bakame-php/a... It will get tagged as stable once the RFC has passed.

3 1 0 0
Preview
URI package and the upcoming PHP native URI extension · Issue #148 · thephpleague/uri-src Feature Request Q A Package yes New Feature yes BC Break no Introduction A proposed URI extension will probably land in PHP in the next version. The extension will expose two URI classes which shar...

#LeagueURI will expose the methods from the upcoming native PHP URI interface to allow easier upgrade to using PHP URI native extension when it will be released github.com/thephpleague... comments and remarks are welcomed in the PR. #uri #rfc3986 #rfc3987

1 0 0 0