Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
U

uri

> 编程语言
Open source

[READ-ONLY] URI manipulation Library

1.1K stars0 likes1 views
WebsiteGitHub

About

[READ-ONLY] URI manipulation Library

URI

The Uri package provides simple and intuitive classes to manage URIs in PHP.

⚠️ this is a sub-split, for development, pull requests and issues, visit: https://github.com/thephpleague/uri-src

System Requirements

You require PHP >= 8.1 but the latest stable version of PHP is recommended

Handling of an IDN host requires the presence of the intl extension or a polyfill for the intl IDN functions like the symfony/polyfill-intl-idn otherwise an exception will be thrown when attempting to validate or interact with such a host.

IPv4 conversion requires at least one of the following:

  • the GMP extension,
  • the BCMatch extension or
  • a 64-bits PHP version

otherwise, an exception will be thrown when attempting to convert a host as an IPv4 address.

Parsing or generating HTML related content requires the dom extension.

Dependencies

  • League URI Interfaces
  • PSR-7

Installation

$ composer require league/uri

Documentation

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

License

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

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHPparse-urlphppsr-7rfc-3986

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言