URL DocumentationΒΆ
The webginition/url package models, normalizes, parses and compares URLs.
The overview provides a high-level introduction to the package classes.
You might want to skip straight to the Url usage guide or the Normalizer usage guide.
Usage
- URL Model
- Normalizer
- Capitalize Percent Encoding
- Decode Unreserved Characters
- Convert Empty HTTP Path
- Remove Default File Host
- Remove Default Port
- Remove Path Dot Segments
- Convert Host Unicode to Punycode
- Reduce Duplicate Path Slashes
- Sort Query Parameters
- Add Path Trailing Slash
- Remove User Info
- Remove Fragment
- Remove www Sub-domain
- Specify a Default Scheme
- Remove Filenames From Path By Pattern
- Remove Query Parameters By Pattern