PHP Package: laminas/laminas-http

Laminas HTTP library provides robust functionality for handling HTTP requests and responses efficiently in PHP applications.

Current Version: 2.21.0
Last Updated: 2024-12-04
PHP Requirement: ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
Dependencies:
php-fig/http-message
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Laminas HTTP library is a powerful tool that enables developers to manage HTTP communication effectively. With features like request handling, response creation, and header manipulation, this library simplifies the process of working with HTTP protocols in PHP projects.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.22.0

Clock Coming soon

Previous Versions

Code Integration Example

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

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

use Laminas\Http\Client;
use Laminas\Http\Request;

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