Overview

    1. PHP 5.4.0
    2. To use the PHP stream handler, must be enabled in your system’s php.ini.
    3. To use the cURL handler, you must have a recent version of cURL >= 7.16.2 compiled with OpenSSL and zlib.

    Guzzle no longer requires cURL in order to send HTTP requests. Guzzle will use the PHP stream wrapper to send HTTP requests if cURL is not installed. Alternatively, you can provide your own HTTP handler used to send requests.

    The recommended way to install Guzzle is with Composer. Composer is a dependency management tool for PHP that allows you to declare the dependencies your project needs and installs them into your project.

    You can add Guzzle as a dependency using the composer.phar CLI:

      Alternatively, you can specify Guzzle as a dependency in your project’s existing composer.json file:

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

      During your development, you can keep up with the latest changes on the master branch by setting the version requirement for Guzzle to ~5.0@dev.

      Licensed using the .

      1. Guzzle follows PSR-0, PSR-1, and PSR-2.
      2. Guzzle is meant to be lean and fast with very few dependencies.
      3. Guzzle has a minimum PHP version requirement of PHP 5.4. Pull requests must not require a PHP version greater than PHP 5.4.
      4. All pull requests must include unit tests to ensure the change works as expected and to prevent regressions.

      In order to contribute, you’ll need to checkout the source from GitHub and install Guzzle’s dependencies using Composer:

      1. cd guzzle && curl -s http://getcomposer.org/installer | php && ./composer.phar install --dev

      Guzzle is unit tested with PHPUnit. Run the tests using the vendored PHPUnit binary:

      Note

      You’ll need to install node.js v0.5.0 or newer in order to perform integration tests on Guzzle’s HTTP handlers.

      We want to ensure that Guzzle is a secure HTTP client library for everyone. If you’ve discovered a security vulnerability in Guzzle, we appreciate your help in disclosing it to us in a responsible manner.

      After a security vulnerability has been corrected, a security hotfix release will be deployed as soon as possible.