• 文档
  • 应用
  • 扩展
  • 资讯
  • 🌏生态
    • 官方服务
    • ThinkAI
    • ThinkBot
    • ThinkAPI
    • ThinkSSL
    • ThinkWiki
    • ThinkQ轻言

    • 资源
    • 轻社区
    • 知识库
  • 合作伙伴
  • 🏘️轻社区
  • 🚀AI助理
  • ☁️顶想云
立即登录

league/uri

URI manipulation library

MIT · 最后更新 3周前 · #http #url #https #middleware #uri #ftp #URN #hostname #data-uri #ws #rfc3986 #parse_url #rfc6570 #querystring #psr-7 #uri-template #query-string #rfc3987 #parse_str #file-uri #rfc8141 #rfc2141

URI ======= [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE) [![Latest Version](https://img.shields.io/github/release/thephpleague/uri.svg?style=flat-square)](https://github.com/thephpleague/uri/releases) [![Total Downloads](https://img.shields.io/packagist/dt/league/uri.svg?style=flat-square)](https://packagist.org/packages/league/uri) The `Uri` package provides simple and intuitive classes to manage URIs in PHP. > ⚠️ this is a sub-split, for development, pull requests and issues, visit: https://github.com/thephpleague/uri-src System Requirements ------- You require **PHP >= 8.1** but the latest stable version of PHP is recommended Handling of an IDN host requires the presence of the `intl` extension or a polyfill for the `intl` IDN functions like the `symfony/polyfill-intl-idn` otherwise an exception will be thrown when attempting to validate or interact with such a host. IPv4 conversion requires at least one of the following: - the `GMP` extension, - the `BCMatch` extension or - a `64-bits` PHP version otherwise, an exception will be thrown when attempting to convert a host as an IPv4 address. Parsing or generating HTML related content requires the `dom` extension. Dependencies ------- - [League URI Interfaces](https://github.com/thephpleague/uri-interfaces) - [PSR-7][] Installation -------- ``` $ composer require league/uri ``` Documentation -------- Full documentation can be found at [uri.thephpleague.com][]. License ------- The MIT License (MIT). Please see [License File](LICENSE) for more information. [PSR-7]: https://www.php-fig.org/psr/psr-7/ [RFC3986]: https://tools.ietf.org/html/rfc3986 [RFC3987]: https://tools.ietf.org/html/rfc3987 [RFC6570]: https://tools.ietf.org/html/rfc6570 [uri.thephpleague.com]: https://uri.thephpleague.com [Guzzle 6]: https://github.com/guzzle/guzzle/blob/6.5/src/UriTemplate.php
维护者
详情

GitHub

180.96M 1112 12 70

扩展中心

立即提交

欢迎提交你的ThinkPHP扩展

NIUCLOUD通用管理系统后台框架

PHP8、MYSQL8、插件化+云编译架构。已有上千名开发者、服务商正在积极拥抱生态。欢迎开发者们免费入驻,一起助力发展!

推荐扩展


  • topthink/think-ai

    1年前
  • topthink/think-api

    1年前
  • topthink/think-dumper

    Dumper extend for thinkphp

    11个月前
  • topthink/think-validate

    think validate

    1年前
  • yzh52521/think-mailer

    A powerful and beautiful php mailer for All of ThinkPHP and Other PHP Frameworks based Symfony mailer

    2年前

热门标签


#thinkphp #php #thinkphp6 #http #image #thinkphp8 #crontab #wechat #laravel #framework

小板报


你的私人AI助理,提升工作和学习效率

ThinkPHPV8.1正式发布

路由和验证做了大量改进,兼容PHP8.4+

🚀ThinkORM4全新重构版本发布

解决Model属性冲突问题,支持实体模型及模型分层,性能和易用性提升

📣ThinkPHP推广奖励计划

邀请好友使用顶想云服务,最高可返利15%!

✒️ThinkWiki写作智能体

自主规划和执行任务,完成多模态创作,高效生成教学课件、分析调研报告、推广方案等。
  • 关于我们
  • 联系我们
  • 合作伙伴
© 2006-2025 上海顶想信息科技有限公司 沪ICP备12007941号-2