一个简单的 PHP 库,用于解析和操作 URL
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.
You need PHP >= 5.3.0 and the mbstring extension to use the library, but the latest stable version of PHP is recommended.
Install Url using Composer.
composer require league/urlThis will edit (or create) your composer.json file and automatically choose the most recent version in the 3.x serie.
You can also use League\Url without using Composer by downloading the library and using a PSR-4 compatible autoloader.
League\Url is fully documented. Contribute to this documentation in the gh-pages branch.
$ phpunitPlease see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.
暂无开放 Issues,或尚未同步最近议题。