savin / url
Thin wrapper over the library sabre/uri
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/savin/url
Requires
- php: ^7.0
- illuminate/support: ^5
- sabre/uri: ^2
This package is auto-updated.
Last update: 2025-08-09 17:05:46 UTC
README
A thin wrapper over the library sabre/uri, package for framework Laravel
Installation
Via Composer
$ composer require savin/url
Usage
$url = Url::parse('https://www.google.com/search?q=curent+time');
var_dump($url);
/*
array(7) {
["scheme"]=>
string(5) "https"
["host"]=>
string(14) "www.google.com"
["path"]=>
string(7) "/search"
["query"]=>
string(13) "q=curent+time"
["port"]=>
NULL
["user"]=>
NULL
["fragment"]=>
NULL
}
*/