https://github.com/pear/net_url2
Class for parsing and handling URL. Parsing of URLs into their constituent parts (scheme, host, path etc.), URL generation, and resolving of relative URLs.
https://github.com/pear/net_url2
library php url url-parser
Last synced: 10 months ago
JSON representation
Class for parsing and handling URL. Parsing of URLs into their constituent parts (scheme, host, path etc.), URL generation, and resolving of relative URLs.
- Host: GitHub
- URL: https://github.com/pear/net_url2
- Owner: pear
- Created: 2012-04-14T13:59:26.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2020-02-20T06:48:42.000Z (almost 6 years ago)
- Last Synced: 2024-05-18T20:06:22.626Z (over 1 year ago)
- Topics: library, php, url, url-parser
- Language: PHP
- Homepage: http://pear.php.net/package/Net_URL2
- Size: 188 KB
- Stars: 48
- Watchers: 19
- Forks: 25
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[][pear/net_url2]
[](https://scrutinizer-ci.com/g/pear/Net_URL2/)
[](https://scrutinizer-ci.com/g/pear/Net_URL2/)
# Net_URL2
Class for parsing and handling URL. Provides parsing of URLs into their constituent parts (scheme, host, path etc.),
URL generation, and resolving of relative URLs.
This package is [Pear Net_URL2] and has been migrated from [Pear SVN]
Please report all new issues via the [PEAR bug tracker].
On Packagist as [pear/net_url2].
[Pear Net_URL2]: https://pear.php.net/package/Net_URL2
[Pear SVN]: https://svn.php.net/repository/pear/packages/Net_URL2
[PEAR bug tracker]: https://pear.php.net/bugs/search.php?cmd=display&package_name%5B%5D=Net_URL2
[pear/net_url2]: https://packagist.org/packages/pear/net_url2
## Testing, Packaging and Installing (Pear)
To test, run either
$ phpunit tests/
or
$ pear run-tests -r
To build, simply
$ pear package
To install from scratch
$ pear install package.xml
To upgrade
$ pear upgrade -f package.xml