The League of Extraordinary Packages

Our Packages:

Presented by The League of Extraordinary Packages

Getting Started

Uri functions

Uri parser

Uri schemes

Uri manipulations

Uri components

Uri Domain Parser

Upgrading Guide

URI Hostname Parser

Build Status Latest Version

This library replaces PHP Domain Parser starting with version 5.2.0

This library contains

This library contains a lightweight domain parser using the Public Suffix List (PSL) ICANN section based on the excellent PHP Domain Parser by Jeremy Kendall.

The main differences with PHP Domain Parser are:

To validate your hostname please refer to URI components
To validate your cookie headers please use PHP Domain Parser.

This library depends on PSR-16.