cURL是利用PHP发送HTTP请求最常用的标准方式。它比fopen这种方式更强大。Guzzle, 是 cURL 的一个封装,使得这个功能甚至更好,此外还增了新的功能。使用这个框架内,我们可以发送并行 持久连接。并且能够通过插件实现缓存,OAuth, AWS集成All the power of cURL with a simple interface.
持久连接和并行请求
Streams request and response bodies
Service descriptions for quickly building clients.
Powered by the Symfony2 EventDispatcher.
Use all of the code or only specific components.
Plugins for caching, logging, OAuth, mocks, and more
Includes a custom node.js webserver to test your clients.
1