Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 18, 2024 via composer

php-http/message 1.16.0

HTTP Message related tools
Package summary
Share
0
issues
1
license
2
MIT
Package created
22 Dec 2015
Version published
17 May 2023
Maintainers
3
Total deps
2
Direct deps
1
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
2 Packages, Including:
clue/stream-filter@v1.7.0
php-http/message@1.16.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

1
All Dependencies CSV
β“˜ This is a list of php-http/message 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
clue/stream-filterv1.7.0-MIT
prod

Visualizations

Frequently Asked Questions

What does php-http/message do?

The php-http/message package is a set of HTTP Message related tools designed for improving and simplifying HTTP workflows in PHP. This package provides a variety of PSR-7 tools which can be massively beneficial in HTTP development projects. Some of the notable tools include authentication method implementations, stream encoding tools, message decorators, message factory implementations for Guzzle PSR-7 and Diactoros, a cookie implementation, and request matchers.

How do you use php-http/message?

The php-http/message package can be installed via Composer by running the following command: composer require php-http/message. Once installed, the tools provided by the package can be utilized in your PHP code. For instance, to use the authentication method implementations or other features, you'd use them in compliance with the usual HTTP workflows and PHP standards.

Without the actual code of your project, it's hard to provide an exact usage example, but in general, you'll import the needed classes from the package and use them where relevant in your code.

Although examples are not provided in the readme, the typical usage of libraries like this would look something like:

// Import the classes
use Http\Message\Authentication;

// Create an instance and use the methods
$authentication = new Authentication();
$authentication->methodSample();

Again, this is just a very basic and generalized example. More specific usage would depend on the exact functionalities you need from the package.

Where are the php-http/message docs?

The official documentation for the php-http/message package is housed on the PHP-HTTP website. Complete and detailed instructions and explanations of the package, its installation, usage, testing, and more can be found by visiting http://docs.php-http.org/en/latest/message.html. These comprehensive documents are an ideal resource for in-depth understanding of the package and for troubleshooting any possible issues users may encounter.