selby / urlparser
Small and simple url parser library
dev-master
2020-07-08 10:57 UTC
Requires
- php: >=7.4
This package is auto-updated.
Last update: 2024-09-08 20:49:55 UTC
README
Small and simple url parser library.
System Requirements
You need:
- PHP >= 7.4 but the latest stable version of PHP is recommended
Installation
$ composer require selby/urlparser
How to use it
Basic usage
use \Selby\UrlParser; $url = new UrlParser('http://example.com'); echo $url->host();
License
The MIT License (MIT). Please see License File for more information.