thephpleague/uri-interfaces

repository·master·Indexed 20 days ago

https://github.com/thephpleague/uri-interfaces

A standardized set of PHP interfaces for representing URI objects according to RFC 3986, serving as a contract for interoperability between different URI implementation libraries.

Tokens
281
Snippets
1
Records
3
Agent score
19%

What's inside uri-interfaces

  1. System requirements for uri-interfaces

    master

    Before installing, ensure your environment meets the following requirements:

    • PHP Version: PHP >= 8.1 (latest stable version recommended).
    • IDN Support: To handle Internationalized Domain Names (IDN) hosts, you must have the intl extension installed or a polyfill like symfony/polyfill-intl-idn. Without this, exceptions will be thrown when interacting with IDN hosts.
    • IPv4 Conversion: To convert a host as an IPv4 address, you must have at least one of the following:
      • The GMP extension
      • The BCMatch extension
      • A 64-bits PHP version

    Failure to meet these requirements will result in exceptions during host validation or IPv4 conversion.