Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 17, 2024 via composer

http-interop/http-factory-guzzle 1.1.1

An HTTP Factory using Guzzle PSR7
Package summary
Share
0
issues
1
license
4
MIT
Package created
27 Aug 2016
Version published
23 Jul 2021
Maintainers
2
Total deps
4
Direct deps
2
License
MIT

Issues

0
This package has no issues

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
4 Packages, Including:
guzzlehttp/psr7@2.6.2
http-interop/http-factory-guzzle@1.1.1
psr/http-factory@1.1.0
ralouphie/getallheaders@3.0.3
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

2
All Dependencies CSV
β“˜ This is a list of http-interop/http-factory-guzzle 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
guzzlehttp/psr72.6.276.41 kBMIT
prod
psr/http-factory1.1.0-MIT
prod

Visualizations

Frequently Asked Questions

What does http-interop/http-factory-guzzle do?

The PHP library, "http-interop/http-factory-guzzle", provides a practical solution for creating HTTP messages and streams using a common method. The specialty of this package is that it uses Guzzle's PSR-7 implementation, making it compatible with the PSR-7 HTTP message interface. Its primary goal is to serve as an interoperable HTTP factory bridge between Guzzle and other PHP libraries or projects.

How do you use http-interop/http-factory-guzzle?

To utilize the "http-interop/http-factory-guzzle" PHP library, first, it must be installed through Composer package manager by executing this command: composer require http-interop/http-factory-guzzle. Afterward, you can easily integrate it with your server requests, uploads, and responses.

Here are a few examples of how one can employ this library:

// Import the GuzzleHttp\Psr7\Response class.
use GuzzleHttp\Psr7\Response;

// Create a new instance of the Response.
$response = (new Response())->withStatus(200)->withBody('Content Here');

// Import the GuzzleHttp\Psr7\ServerRequest class.
use GuzzleHttp\Psr7\ServerRequest;

// Create a new Server Request instance.
$request = ServerRequest::fromGlobals();

Naturally, the real power of this library is unleashed when it's integrated with other PHP projects or libraries that conform to the PSR-7 standard.

Where are the http-interop/http-factory-guzzle docs?

Documentation for the "http-interop/http-factory-guzzle" library is not provided on its GitHub repository page. As this package is an implementation of the Http\Factory interfaces, the primary reference should be PSR-7 HTTP message interfaces and Guzzle's PSR-7 library documentation. They can guide on the usage and protocols this library adheres to. For specific use cases or extensive code examples, developers are advised to browse through relevant forums, blogs, and PHP communities where active usage and discussion about these conventions and related packages occur.