Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 19, 2024 via composer

laminas/laminas-diactoros 3.3.1

PSR HTTP Message implementations
Package summary
Share
0
issues
2
licenses
1
BSD-3-Clause
1
MIT
Package created
1 Jan 2020
Version published
16 Feb 2024
Maintainers
1
Total deps
2
Direct deps
1
License
BSD-3-Clause

Issues

0
This package has no issues

Licenses

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
laminas/laminas-diactoros@3.3.1

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
1 Packages, Including:
psr/http-factory@1.1.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 laminas/laminas-diactoros 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
psr/http-factory1.1.0-MIT
prod

Visualizations

Frequently Asked Questions

What does laminas/laminas-diactoros do?

Laminas/laminas-diactoros is a comprehensive PHP package, specially designed to provide implementations of the PSR-7 HTTP message interfaces and PSR-17 HTTP message factory interfaces. The term Diactoros, named after the Greek word for "the messenger", signifies its primary function as a messenger, delivering HTTP messages in line with the PSR-7 HTTP message and PSR-17 HTTP message factory standards. The package is a successor to the phly/http package and offers more advanced features and functionality for maximum performance.

How do you use laminas/laminas-diactoros?

To use laminas/laminas-diactoros in your PHP projects, it's essential to install it first. It can be installed using composer via the terminal or command line:

composer require laminas/laminas-diactoros

After successfully installing, you can use it in your PHP code like this:

use Laminas\Diactoros\ServerRequestFactory;

$request = ServerRequestFactory::fromGlobals(
    $_SERVER,
    $_GET,
    $_POST,
    $_COOKIE,
    $_FILES
);

In the above example, we are using the ServerRequestFactory to create a new server request instance from PHP's superglobals.

Where are the laminas/laminas-diactoros docs?

Thorough and context-rich documentation for laminas/laminas-diactoros is accessible through the official Laminas Project website at the documentation site. Significant details, such as installation, configuration, usage, and FAQs, are comprehensively covered in the documentation. It serves as a guide for developers to use, understand, and maximize the benefits of the laminas/laminas-diactoros package. The source files for the documentation are conveniently located within the docs/ tree of the project repository.