Skip to content

Installation

phil/url
RequirementVersionWhy
PHP8.5 or laterThe floor the library declares and is tested on
ext-intlanyidn_to_ascii() and idn_to_utf8(): an international host kept in its ASCII form, displayed in its own letters
ext-mbstringanyMessages cut to a length in characters
ext-urianyUri\WhatWg\Url, the WHATWG URL parser bundled with PHP 8.5: an address read as a browser reads it
phil/enums^0.3@devEnumSet, the sets of kinds a field accepts
composer require phil/url

Until the package is published, it is resolved from the PHIL monorepo through a path or vcs repository.