php-http/guzzle6-adapter
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
guzzlehttp/guzzle | 6.5.8 | - | MIT | prod | |
php-http/httplug | 2.4.0 | 10.2 kB | MIT | prod | |
psr/http-client | 1.0.3 | - | MIT | prod |
The php-http/guzzle6-adapter is a comprehensive tool that equips developers with the ability to integrate and use the Guzzle 6 HTTP client with PHP. It serves as a bridge enabling compatibility between Guzzle 6 and PHP 8, facilitating streamlined and efficient web-based operations. It must be noted, however, that while this adapter supports PHP 8, the Guzzle 6 itself isn't tested on that version. In cases where you need a PSR-18 client or for asynchronous calls, it's recommended to use Guzzle 7 or the guzzle7-adapter respectively.
Installation and usage of php-http/guzzle6-adapter is quite straightforward. First of all, you need to install it. For this, you need composer, a tool for dependency management in PHP. You can install the adapter via composer by firing off this command in your terminal:
$ composer require php-http/guzzle6-adapter
After successful installation, you can use this adapter in your PHP code by requiring the autoloader installed by composer:
require 'vendor/autoload.php';
// your PHP code here
The official documentation of php-http/guzzle6-adapter is a valuable resource for anyone who wants to delve into its use and understand its features in detail. It provides step-by-step instructions, explanations, and tips to better utilize the package. This documentation is accessible at the following link: Official Documentation.