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

url

> 编程语言
Open source

A simple PHP library to parse and manipulate URLs

348 stars0 likes2 views
WebsiteGitHub

About

A simple PHP library to parse and manipulate URLs

Url version 3

League\Url 3 is EOL since 2015-09-23

This repository is for the legacy Url version 3, the new version is available at https://github.com/thephpleague/uri. Url is a simple library to ease creating and managing Urls in PHP.

This package is compliant with PSR-2, and PSR-4.

Requirements

You need PHP >= 5.3.0 and the mbstring extension to use the library, but the latest stable version of PHP is recommended.

Install

Install Url using Composer.

composer require league/url

This will edit (or create) your composer.json file and automatically choose the most recent version in the 3.x serie.

Going Solo

You can also use League\Url without using Composer by downloading the library and using a PSR-4 compatible autoloader.

Documentation

League\Url is fully documented. Contribute to this documentation in the gh-pages branch.

Testing

bash
$ phpunit

Contributing

Please see CONTRIBUTING for details.

Credits

  • ignace nyamagana butera
  • All Contributors

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

PHP

No comments yet. Be the first to share.

> Details

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

> Related tools

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