Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Hpack Laravel Package

amphp/hpack

Fast HPACK (HTTP/2 header compression) implementation for PHP by amphp. Provides efficient encoding/decoding of header blocks with dynamic tables, Huffman coding, and compliance-focused behavior, suitable for high-performance HTTP/2 clients and servers.

View on GitHub
Deep Wiki
Context7
v3.2.1

What's Changed

Full Changelog: https://github.com/amphp/hpack/compare/v3.2.0...v3.2.1

v3.2.0
  • Improved detection of libnghttp2, i.e. libnghttp2.so.14 and looking in the Homebrew path

Full Changelog: https://github.com/amphp/hpack/compare/v3.1.7...v3.2.0

v3.1.7
  • Fixed encoding of headers with length of exactly 255 bytes (#12)
v3.1.6
  • Fixed decoding proxy-authenticate header (was decoded as proxy-authentication before)
  • Fix float conversion on too large integers (properly rejected with an exception now)
v3.1.5
  • Fixed decoding headers if FFI is enabled

Full Changelog: https://github.com/amphp/hpack/compare/v3.1.4...v3.1.5

v3.1.4

This release contains a broken version of the FFI implementation, please use v3.1.5 instead.

  • Fixed decoding headers if empty on older versions of PHP with FFI enabled (#13)

Full Changelog: https://github.com/amphp/hpack/compare/v3.1.3...v3.1.4

v3.1.3
  • Fixed encoding headers if the array contains non-strings.
  • Updated FFI usage in HPackNghttp2 for compatibility with PHP 8.3.

Full Changelog: https://github.com/amphp/hpack/compare/v3.1.2...v3.1.3

v3.1.2
  • Fixed decoding header values when empty.

Full Changelog: https://github.com/amphp/hpack/compare/v3.1.1...v3.1.2

v3.1.1
v3.1.0
  • Fixed possible DoS via table size updates
  • Fixed possible uninitialized string offset warnings on invalid data (#8)
  • Added static lookup tables to improve performance and memory usage if opcache is enabled (#9)
v3.0.0
  • Optional implementation using FFI on PHP 7.4
  • Changed input format for HPack::encode to match the output format of HPack::decode
v2.0.0
  • Replaced resizeTable() method with setTableSizeLimit(). This new method only sets the hard limit on table size, it does not resize the current table. Resizing the table is handled dynamically based on received table updates. The max size should correspond to SETTINGS_HEADER_TABLE_SIZE in HTTP/2 connection settings.
  • Fixed handling of dynamic table size updates from peer.
  • Decoding headers now returns null if a huffman-encoded value is incorrectly padded or contains the EOS symbol.
  • encode() added a $compressionThreshold parameter. Strings above this value are huffman encoded. The default for this parameter is 1024 bytes.
v1.0.1
  • Fixed Huffman encoder padding and result string truncation. (#3)
v1.0.0

Initial release.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport