PHP Package: longwave/laminas-diactoros

Laminas Diactoros is a PHP library for handling HTTP messages efficiently and consistently with PSR-7 support.

Current Version: 2.14.3
Last Updated: 2024-09-11
PHP Requirement: ^7.3 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0
Dependencies:
php-fig/http-message
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Laminas Diactoros is a high-performance PHP library that provides an easy and efficient way to work with HTTP messages. With PSR-7 compliance, this library ensures interoperability and flexibility for building modern web applications. It offers robust features for creating, manipulating, and emitting HTTP messages, making it an essential tool for developers seeking reliable HTTP handling functionality.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.14.3

Download Download v2.14.3

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/longwave/laminas-diactoros/2.14.3/loader.php';
require_once 'libs/php-fig/http-message/2.0/loader.php';

use Laminas\Diactoros\Response\JsonResponse;

$obj = new JsonResponse();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.