uri-components

League URI components objects

Github星跟踪图

Uri Components

Build Status
Latest Version

This package contains concrete URI components instances represented as immutable value objects.

System Requirements

You need PHP >= 7.2 but the latest stable version of PHP is recommended.

Dependencies

In order to handle IDN host you should also require the intl extension otherwise an exception will be thrown when attempting to validate such host.

Installation

$ composer require league/uri-components

Documentation

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

Contributing

Contributions are welcome and will be fully credited. Please see CONTRIBUTING and CONDUCT for details.

Testing

The library has a :

  • a PHPUnit test suite
  • a coding style compliance test suite using PHP CS Fixer.
  • a code analysis compliance test suite using PHPStan.

To run the tests, run the following command from the project folder.

$ composer test

Security

If you discover any security related issues, please email nyamsprod@gmail.com instead of using the issue tracker.

Credits

License

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

主要指标

概览
名称与所有者thephpleague/uri-components
主编程语言PHP
编程语言PHP (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2016-10-17 20:23:38
推送于2025-06-10 06:32:59
最后一次提交2025-06-10 08:32:35
发布数46
最新版本名称7.5.1 (发布于 2024-12-08 08:48:12)
第一版名称0.1.0 (发布于 )
用户参与
星数313
关注者数4
派生数5
提交数1.5k
已启用问题?
问题数0
打开的问题数0
拉请求数34
打开的拉请求数0
关闭的拉请求数3
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?