PHPackages                             ngsoft/url - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. ngsoft/url

AbandonedLibrary

ngsoft/url
==========

esperecyan/url fork that uses a polyfill for intl and is compatible with psr-7 specifications.

6.0(6y ago)022MPL-2.0PHPPHP &gt;=5.4.7

Since Jun 20Pushed 6y agoCompare

[ Source](https://github.com/ngsoft/url)[ Packagist](https://packagist.org/packages/ngsoft/url)[ Docs](https://github.com/ngsoft/url)[ RSS](/packages/ngsoft-url/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (6)Versions (28)Used By (0)

English / [日本語](README.ja.md)

URL Standard
============

[](#url-standard)

Makes the algorithms and APIs defined by [URL Standard](https://url.spec.whatwg.org/ "The URL Standard defines URLs, domains, IP addresses, the application/x-www-form-urlencoded format, and their API.") available on PHP.

Description
-----------

[](#description)

URL Standard is the Web standard specification that replaces the previous standards [RFC 3986](https://tools.ietf.org/html/rfc3986 "A Uniform Resource Identifier (URI) is a compact sequence of characters that identifies an abstract or physical resource. This specification defines the generic URI syntax and a process for resolving URI references that might be in relative form, along with guidelines and security considerations for the use of URIs on the Internet.") and [RFC 3987](https://tools.ietf.org/html/rfc3987 "This document defines a new protocol element, the Internationalized Resource Identifier (IRI), as a complement to the Uniform Resource Identifier (URI).").

The specification defines [URL interface](https://url.spec.whatwg.org/#url "URL Standard adds a new URL object as well for URL manipulation without usage of HTML elements. (Useful for JavaScript worker environments.)") and [URLSearchPrams interface](https://url.spec.whatwg.org/#interface-urlsearchparams) as [API](https://url.spec.whatwg.org/#api "URL Standard defines URL’s existing JavaScript API in full detail and add enhancements to make it easier to work with."). This library allows you to use [esperecyan\\url\\URL class](https://esperecyan.github.io/url/class-esperecyan.url.URL) as [URL interface](https://url.spec.whatwg.org/#url "URL Standard adds a new URL object as well for URL manipulation without usage of HTML elements. (Useful for JavaScript worker environments.)") and [esperecyan\\url\\URLSearchParams class](https://esperecyan.github.io/url/class-esperecyan.url.URLSearchParams) as [URLSearchPrams interface](https://url.spec.whatwg.org/#interface-urlsearchparams). The documents on MDN may be easy to understand by way of explanation of the interfaces   .

This library allows you to use the algorithms defined by URL Standard. For details, see [The correspondence table of the algorithms](#the-correspondence-table-of-the-algorithms).

Example
-------

[](#example)

```
