Registry / utility / spatie-url

spatie-url

JSON →
library2.4.0phppackagistunverified

Parse, build and manipulate URL's

composer require spatie/url
INSTALL
IMPORT
SIG · SPATIE-URL
S
spatie-url
utilityphpv2.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Url
use Spatie\Url\Url;

Parse and manipulate a URL string.

use Spatie\Url\Url; $url = Url::fromString('https://example.com/path?query=value'); echo $url->getScheme(); // https
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.4.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
spatie-url — pip install spatie-url · libregistry