萤火科技 e2a4c6ba3d 项目初始化 há 5 anos atrás
..
docs e2a4c6ba3d 项目初始化 há 5 anos atrás
phing e2a4c6ba3d 项目初始化 há 5 anos atrás
src e2a4c6ba3d 项目初始化 há 5 anos atrás
tests e2a4c6ba3d 项目初始化 há 5 anos atrás
.gitignore e2a4c6ba3d 项目初始化 há 5 anos atrás
.travis.yml e2a4c6ba3d 项目初始化 há 5 anos atrás
CHANGELOG.md e2a4c6ba3d 项目初始化 há 5 anos atrás
LICENSE e2a4c6ba3d 项目初始化 há 5 anos atrás
README.md e2a4c6ba3d 项目初始化 há 5 anos atrás
UPGRADING.md e2a4c6ba3d 项目初始化 há 5 anos atrás
build.xml e2a4c6ba3d 项目初始化 há 5 anos atrás
composer.json e2a4c6ba3d 项目初始化 há 5 anos atrás
phar-stub.php e2a4c6ba3d 项目初始化 há 5 anos atrás
phpunit.xml.dist e2a4c6ba3d 项目初始化 há 5 anos atrás

README.md

Guzzle, PHP HTTP client and webservice framework

This is an old version of Guzzle

This repository is for Guzzle 3.x. Guzzle 5.x, the new version of Guzzle, has been released and is available at https://github.com/guzzle/guzzle. The documentation for Guzzle version 5+ can be found at http://guzzlephp.org.

Guzzle 3 is only maintained for bug and security fixes. Guzzle 3 will be EOL at some point in late 2015.

About Guzzle 3

Composer Downloads Build Status

  • Extremely powerful API provides all the power of cURL with a simple interface.
  • Truly take advantage of HTTP/1.1 with persistent connections, connection pooling, and parallel requests.
  • Service description DSL allows you build awesome web service clients faster.
  • Symfony2 event-based plugin system allows you to completely modify the behavior of a request.

Get answers with: Documentation, Forums, IRC (#guzzlephp @ irc.freenode.net)

Installing via Composer

The recommended way to install Guzzle is through Composer.

# Install Composer
curl -sS https://getcomposer.org/installer | php

# Add Guzzle as a dependency
php composer.phar require guzzle/guzzle:~3.9

After installing, you need to require Composer's autoloader:

require 'vendor/autoload.php';

Known Issues

  1. Problem following a specific redirect: https://github.com/guzzle/guzzle/issues/385. This has been fixed in Guzzle 4/5.
  2. Root XML attributes not serialized in a service description: https://github.com/guzzle/guzzle3/issues/5. This has been fixed in Guzzle 4/5.
  3. Accept-Encoding not preserved when following redirect: https://github.com/guzzle/guzzle3/issues/9 Fixed in Guzzle 4/5.
  4. String "Array" Transmitted w/ PostFiles and Duplicate Aggregator: https://github.com/guzzle/guzzle3/issues/10 Fixed in Guzzle 4/5.
  5. Recursive model references with array items: https://github.com/guzzle/guzzle3/issues/13 Fixed in Guzzle 4/5
  6. String "Array" Transmitted w/ PostFiles and Duplicate Aggregator: https://github.com/guzzle/guzzle3/issues/10 Fixed in Guzzle 4/5.