brotli

Brotli extension


PHP extension for compression and decompression with Brotli library.

License: MIT

Latest releases

Version Release Download
0.20.0 2026-07-02 brotli-0.20.0.tgz
0.19.0 2026-06-05 brotli-0.19.0.tgz
0.18.3 2025-12-01 brotli-0.18.3.tgz
0.18.2 2025-08-17 brotli-0.18.2.tgz
0.18.1 2025-08-12 brotli-0.18.1.tgz
Show all releases

Changelog

Version Message
0.20.0 - add: MIME type exclusions for transparent output compression (brotli.output_compression_exclude_types)
- add: --enable-apcu configure option to explicitly control APCu serializer support
- fix: enhance APCu include detection for in-tree builds
0.19.0 - add: configurable compression level for the APCu serializer (brotli.apcu_compression_level)
- fix: SIGSEGV in the APCu serializer callbacks on ZTS shared builds
- fix: CG(empty_string) crash in the smart_str_extract() fallback on PHP 7.1 ZTS
- fix: heap-buffer-overflow in php_brotli_decompress_read() inner read
- fix: heap-use-after-free in php_brotli_decompress_read()
- fix: propagate failure of brotli_uncompress_add() to the caller
- fix: UBSAN-detected undefined behavior in brotli_uncompress_add()
- fix: build on PHP 8.6+
0.18.3 - update: build-in brotli library to v1.2.0
0.18.2 - fix: disable dcb encoding when dictionary loading fails
0.18.1 - improve: Use Zend/zend_smart_string.h
- improve: PHP 8.5 alpha3 compatibility
- fix: Add missing zend_string_release calls to prevent memory leaks
Show complete changelog