Registry / utility / league-url

league-url

JSON →
library3.3.5phppackagistunverified

A lightweight PHP URL manipulation library.

composer require league/url
INSTALL
IMPORT
SIG · LEAGUE-URL
L
league-url
utilityphpv3.3.5
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 League\Url\Url;

Parse and manipulate a URL.

use League\Url\Url; $url = Url::createFromUrl('https://example.com/path?query=value'); echo $url->getPath();
Debug
Known issues
breakingVersion 3.x has breaking changes from 2.x, especially in method signatures.
fix
Review upgrade guide when migrating from 2.x.
affects: >=3.0.0
Upgrade
Version history
3.3.5latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
league-url — pip install league-url · libregistry