关于guzzle安装问题

WBOY
Release: 2016-06-06 20:39:38
Original
1764 people have browsed it

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

回复内容:

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

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

https://github.com/FriendsOfPHP/Goutte

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template