百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
U

url

> 编程语言
开源

一个简单的 PHP 库,用于解析和操作 URL

348 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

一个简单的 PHP 库,用于解析和操作 URL

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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHP

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

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