Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 1, 2024 via composer

guzzlehttp/guzzle 6.5.5

Guzzle is a PHP HTTP client library
Package summary
Share
10
issues
10
high severity
vulnerability
10
1
license
7
MIT
Package created
15 Mar 2014
Version published
16 Jun 2020
Maintainers
5
Total deps
7
Direct deps
3
License
MIT

Issues

10

10 high severity issues

high
via: guzzlehttp/guzzle@6.5.5
via: guzzlehttp/guzzle@6.5.5
via: guzzlehttp/guzzle@6.5.5
via: guzzlehttp/guzzle@6.5.5
via: guzzlehttp/guzzle@6.5.5
via: guzzlehttp/guzzle@6.5.5
via: guzzlehttp/guzzle@6.5.5
via: guzzlehttp/guzzle@6.5.5
via: guzzlehttp/guzzle@6.5.5
via: guzzlehttp/guzzle@6.5.5
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
7 Packages, Including:
guzzlehttp/guzzle@6.5.5
guzzlehttp/promises@1.5.3
guzzlehttp/psr7@1.9.1
ralouphie/getallheaders@3.0.3
symfony/polyfill-intl-idn@v1.29.0
symfony/polyfill-intl-normalizer@v1.29.0
symfony/polyfill-php72@v1.29.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

3
All Dependencies CSV
β“˜ This is a list of guzzlehttp/guzzle 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
guzzlehttp/promises1.5.327.46 kBMIT
prod
guzzlehttp/psr71.9.1-MIT
prod
symfony/polyfill-intl-idnv1.29.059.29 kBMIT
prod

Visualizations

Frequently Asked Questions

What does guzzlehttp/guzzle do?

Guzzlehttp/guzzle is a robust PHP HTTP client that facilitates sending HTTP requests and makes it seamless to integrate with web services. It offers a straightforward interface for tasks like building query strings, POST requests, streaming large uploads, downloads, cookies, and JSON data uploading, among others. It supports both synchronous and asynchronous requests using the same interface, and it is built around PSR-7 interfaces for requests, responses, and streams, leading to high interoperability with other libraries meeting the same PSR standard.

How do you use guzzlehttp/guzzle?

To utilize Guzzlehttp/guzzle in your projects, the recommended installation method is via Composer, a PHP dependency manager. You can command it to install Guzzle with the following terminal command: composer require guzzlehttp/guzzle.

After the package is installed, you can then employ it in your PHP scripts as follows:

$client = new \GuzzleHttp\Client();
$response = $client->request('GET', 'https://api.github.com/repos/guzzle/guzzle');

echo $response->getStatusCode(); // Outputs: 200
echo $response->getHeaderLine('content-type'); // Outputs: 'application/json; charset=utf8'
echo $response->getBody(); // Outputs the body content received from the response.

//You can also send an asynchronous request.
$request = new \GuzzleHttp\Psr7\Request('GET', 'http://httpbin.org');
$promise = $client->sendAsync($request)->then(function ($response) {
    echo 'I completed! ' . $response->getBody();
});

$promise->wait();

This example initializes a client, sends a GET request to a specified URL, and retrieves the response's status code, header, and body. Asynchronously sending a request is also illustrated.

Where are the guzzlehttp/guzzle docs?

The Guzzlehttp/guzzle's detailed documentation can be accessed at the following URL: https://docs.guzzlephp.org. In addition to the official documentation, you can also reach out to the Guzzle community on Stack Overflow or the dedicated Guzzle channels on Slack and Gitter for further assistance or to discuss specific topics.