File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,11 @@ PHP has been relying on the `parse_url` function to split URI into its component
1010function predates RFC3986 and as such does not fully comply to the specification. To work
1111around the limitation the tooklit provides the ` League\Uri\UriString ` class. It is a
1212user-land PHP URI parser and builder compliant with [ RFC 3986] ( http://tools.ietf.org/html/rfc3986 ) and [ RFC 3987] ( http://tools.ietf.org/html/rfc3987 )
13- The class act as a drop-in replacement for PHP's ` parse_url ` feature. And expand on
14- the feature to provide RFC3986 features:
13+ The class act as a drop-in replacement for PHP's ` parse_url ` feature.
14+ The class provides other core features of RFC3986 like dot segment removal, URI resolution,
15+ and URI normalization.
16+
17+ ## URI parsing
1518
1619The parser is:
1720
@@ -21,8 +24,6 @@ The parser is:
2124- makes a distinction between empty and undefined components;
2225- the parser throws a ` League\Uri\Contracts\UriException ` exception instead of returning ` false ` on error;
2326
24- ## URI parsing
25-
2627The class covers parsing URI in different context:
2728
2829~~~ php
@@ -185,6 +186,8 @@ echo $path; //displays 'path/to/the/sky%7Bfoo%7D'
185186
186187## Component and String Validation
187188
189+ <p class =" message-notice " >Available since version <code >7.6</code ></p >
190+
188191The class exposes static methods to validate that a string:
189192
190193- represents a valid scheme with the ` isValidScheme() ` method
You can’t perform that action at this time.
0 commit comments