huynd / url_helper
第一个Composer包
dev-master
2020-03-19 10:32 UTC
Requires
- php: >5.3.0
Requires (Dev)
- phpunit/phpunit: 6.2
This package is auto-updated.
Last update: 2024-09-19 21:03:58 UTC
README
包名:huynd/url_helper。功能:验证1个字符串是否是有效的URL,将1个路径与1个基础URL连接。例如,http://google.com/a/ 与 xyz.html 连接为 http://google.com/a/xyz.html,但与 /xyz.html 连接为 http://google.com/xyz.html 获取信息:协议、端口、域名。安装:使用命令 composer require huynd/url_helper 将包加载到您的项目中。在项目的索引文件中需要自动加载文件:requirec_one './vendor/autoload'; use PackageUrlHelper\UrlHelper; $urlHelp = new UrlHelper();