Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 727 Bytes

what-version-of-php-is-required-for-guzzle.md

File metadata and controls

23 lines (15 loc) · 727 Bytes

What version of PHP is required for Guzzle?

// plain

Guzzle requires PHP 5.5.0 or newer. It is recommended to use the latest stable version of PHP.

Example code

$client = new GuzzleHttp\Client();

Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services.

Code explanation

  • $client: This is a variable that holds the GuzzleHttp\Client object.
  • GuzzleHttp\Client(): This is the constructor for the GuzzleHttp\Client class.

Helpful links

onelinerhub: What version of PHP is required for Guzzle?