Home >Backend Development >PHP Tutorial >关于guzzle安装问题

关于guzzle安装问题

WBOY
WBOYOriginal
2016-06-06 20:39:381810browse

希望使用guzzle 作为PHP5.4的http请求组件,但是本地开发的composer安装有问题,能不能使用代码安装

回复内容:

希望使用guzzle 作为PHP5.4的http请求组件,但是本地开发的composer安装有问题,能不能使用代码安装

直接用 Goutte 吧,包装了 BrowserKit, CssSelector, DomCrawler, Guzzle 等Symfony组件,基本全能了。

https://github.com/FriendsOfPHP/Goutte

下载phar后直接include就可使用了,用composer也行

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn