league/url
最新稳定版本:4.0.0-beta.3
Composer 安装命令:
composer require league/url
包简介
League/url is a lightweight PHP Url manipulating library
关键字:
README 文档
README
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
$ phpunit
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 2.71M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 360
- 点击次数: 0
- 依赖项目数: 35
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04