PHP Package: amphp/hpack

Efficiently encode HTTP/2 headers for improved performance and reduced latency in web applications.

Current Version: 3.2.1
Last Updated: 2024-03-21
PHP Requirement: >=7.1
Dependencies: psr/log
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

amphp/hpack is a PHP library that provides efficient encoding and decoding of HTTP/2 headers, enabling web applications to achieve improved performance and reduced latency. It offers a comprehensive set of tools for working with HTTP/2 headers, making it an essential component for modern web development.

🔗 View on GitHub

Download Latest Version: 3.2.1

Download Download v3.2.1

Code Integration Example

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

<?php

// Example from PHPlibraries.com
require_once 'libs/amphp/hpack/3.2.1/autoload.php';

use Amp\Http2\Hpack\Decoder;
use Amp\Http2\Hpack\Encoder;


$obj = new Amp\Http2\Hpack\Decoder();
echo "✅ Example created successfully.";

?>

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