Registry / utility / jwage-purl

jwage-purl

JSON →
library1.0.0phppackagistunverified

URL manipulation library for PHP 5.3+.

composer require jwage/purl
INSTALL
IMPORT
SIG · JWAGE-PURL
J
jwage-purl
utilityphpv1.0.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 Purl\Url;

Parse and manipulate a URL.

use Purl\Url; $url = new Url('http://example.com/path?query=value#fragment'); echo $url->getScheme(); // 'http' echo $url->getPath(); // '/path'
Debug
Known issues
breakingPurl requires PHP 5.3+; not compatible with PHP 8+ without updates.
fix
Consider using a modern URL library like League\Uri.
affects: >=1.0.0
Upgrade
Version history
1.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
jwage-purl — pip install jwage-purl · libregistry