PHP Package: contributte/psr7-http-message

Contributte's PHP library for PSR-7 HTTP messages handling, providing compatibility and easy integration.

Current Version: 0.10.0
Last Updated: 2023-12-15
PHP Requirement: >=8.1
Dependencies:
php-fig/http-message
php-fig/http-message-util
phpunit/phpunit
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The PSR7-HTTP-Message library by Contributte allows seamless management of PSR-7 HTTP messages, ensuring smooth handling and integration within PHP projects. With an emphasis on compatibility and ease of use, this library simplifies HTTP message manipulation for developers.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 0.10.0

Download Download v0.10.0

Code Integration Example

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

<?php
// Example from PHPlibraries.com
require_once 'libs/contributte/psr7-http-message/0.10.0/loader.php';
require_once 'libs/php-fig/http-message/2.0/loader.php';
require_once 'libs/php-fig/http-message-util/1.1.5/loader.php';
require_once 'libs/sebastianbergmann/phpunit/12.2.2/loader.php';

use Contributte\Psr7HttpMessage\Message;
use PHPUnit\Framework\TestCase;

$obj = new Message();
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.