All Projects → thephpleague → Uri Hostname Parser

thephpleague / Uri Hostname Parser

Licence: other
A lightweight hostname parser according to public suffix list ICANN section

Labels

Projects that are alternatives of or similar to Uri Hostname Parser

Searchwithmybrowser
Open Cortana searches with your default browser.
Stars: ✭ 285 (+43.94%)
Mutual labels:  uri
Sttp
The Scala HTTP client you always wanted!
Stars: ✭ 1,078 (+444.44%)
Mutual labels:  uri
React Native Wormhole
⚛️ 🌌 Inter-dimensional Portals for React Native. 👽 🖖
Stars: ✭ 133 (-32.83%)
Mutual labels:  uri
Tld.js
JavaScript API to work easily with complex domain names, subdomains and well-known TLDs.
Stars: ✭ 399 (+101.52%)
Mutual labels:  uri
Bidi
Bidirectional URI routing
Stars: ✭ 941 (+375.25%)
Mutual labels:  uri
Iri
Simple Immutable URI/URL Builder in Ruby
Stars: ✭ 90 (-54.55%)
Mutual labels:  uri
Uri
🌏 Functions for making sense out of URIs in PHP
Stars: ✭ 259 (+30.81%)
Mutual labels:  uri
Uritemplate
URI template parsing per RFC6570
Stars: ✭ 188 (-5.05%)
Mutual labels:  uri
Handle Path Oz
Android Library to handle multiple Uri's(paths) received through Intents.
Stars: ✭ 36 (-81.82%)
Mutual labels:  uri
Embiggen
A Ruby library to expand shortened URLs
Stars: ✭ 122 (-38.38%)
Mutual labels:  uri
Uri
URI manipulation Library
Stars: ✭ 662 (+234.34%)
Mutual labels:  uri
Badges4 Readme.md Profile
👩‍💻👨‍💻 Improve your README.md profile with these amazing badges.
Stars: ✭ 929 (+369.19%)
Mutual labels:  uri
Addressable
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. It is flexible, offers heuristic parsing, and additionally provides extensive support for IRIs and URI templates.
Stars: ✭ 1,313 (+563.13%)
Mutual labels:  uri
Uri Parser
RFC3986/RFC3987 compliant URI parser
Stars: ✭ 342 (+72.73%)
Mutual labels:  uri
Tldts
JavaScript Library to work against complex domain names, subdomains and URIs.
Stars: ✭ 151 (-23.74%)
Mutual labels:  uri
Android Nosql
Lightweight, simple structured NoSQL database for Android
Stars: ✭ 284 (+43.43%)
Mutual labels:  uri
Request via
RequestVia: A Functional HTTP Client That Wraps Net::HTTP
Stars: ✭ 74 (-62.63%)
Mutual labels:  uri
Vscode Remote Workspace
Multi protocol support for handling remote files like local ones in Visual Studio Code.
Stars: ✭ 197 (-0.51%)
Mutual labels:  uri
Uriparser
🔪 Strictly RFC 3986 compliant URI parsing and handling library written in C89; moved from SourceForge to GitHub
Stars: ✭ 163 (-17.68%)
Mutual labels:  uri
Rdflib
RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information.
Stars: ✭ 1,584 (+700%)
Mutual labels:  uri

Uri Hostname Parser

This package is EOL since 2018-02-16

This repository was a temporary workaround for

You should instead use:

Build Status Latest Version

This package contains a lightweight domain parser using the Public Suffix List (PSL) ICANN section based on the excellent work by Jeremy Kendall.

WARNING: Some people use the PSL to determine what is a valid domain name and what isn't. This is dangerous, particularly in these days where new gTLDs are arriving at a rapid pace, if your software does not regularly receive PSL updates, because it will erroneously think new gTLDs are not valid. The DNS is the proper source for this in normal condition. If you must use it for this purpose, please do not bake static copies of the PSL into your software with no update mechanism.

System Requirements

You need:

  • PHP >= 7.0 but the latest stable version of PHP is recommended
  • the mbstring extension
  • the intl extension
  • the curl extension

Dependencies

Installation

$ composer require league/uri-hostname-parser

Documentation

Full documentation can be found at uri.thephpleague.com.

Contributing

Contributions are welcome and will be fully credited. Please see CONTRIBUTING and CONDUCT for details.

Testing

Uri Hostname Parser has a PHPUnit test suite and a coding style compliance test suite using PHP CS Fixer. To run the tests, run the following command from the project folder.

$ composer test

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Attribution

This work is based on a Fork of PHP Domain Parser

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].