PHP Libraries

Guzzle HTTP Client

Guzzle provides a convenient PHP API for HTTP requests, responses and middleware.

Overview

Guzzle provides a convenient PHP API for HTTP requests, responses and middleware.

Install

composer require guzzlehttp/guzzle

Configure timeouts, validate remote URLs and handle network exceptions. Treat remote response bodies as untrusted input.

Official documentation: Guzzle

Evaluation checklist

  • Prefer official documentation and repositories.
  • Check supported PHP versions and release history.
  • Review installation instructions and license terms.
  • Keep dependencies updated and run security checks.