| Port details |
- php-brotli Brotli extension for PHP
- 0.20.0 archivers
=0 0.19.0Version of this port present on the latest quarterly branch. - Maintainer: pkaipila@gmail.com
 - Port Added: 2019-03-18 20:25:08
- Last Update: 2026-07-12 17:24:46
- Commit Hash: 1678d89
- License: MIT
- WWW:
- https://github.com/kjdev/php-ext-brotli
- Description:
- This is the PHP extension for Brotli, a generic-purpose lossless compression
algorithm that compresses data using a combination of a modern variant of the
LZ77 algorithm, Huffman coding and 2nd order context modeling, with a
compression ratio comparable to the best currently available general-purpose
compression methods. It is similar in speed with deflate but offers more dense
compression.
This extension can also transparently compress objects stored in
APCu cache. Just set apc.serializer=brotli in your php.ini.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ${PHP_PKGNAMEPREFIX}brotli>0:archivers/php-brotli
- To install the port:
- cd /usr/ports/archivers/php-brotli/ && make install clean
- To add the package, run one of these commands:
- pkg install archivers/php-brotli
- pkg install php84-brotli
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: php84-brotli
- Package flavors (<flavor>: <package>)
- php84: php84-brotli
- php82: php82-brotli
- php83: php83-brotli
- php85: php85-brotli
- php86: php86-brotli
- distinfo:
- TIMESTAMP = 1783195881
SHA256 (kjdev-php-ext-brotli-0.20.0_GH0.tar.gz) = 2902a1bc3ec16bf95e2d0e9ae7dc2f8be088d0ea1526fca5c2c5c4d3f01a9582
SIZE (kjdev-php-ext-brotli-0.20.0_GH0.tar.gz) = 36801
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- apc_serializer.h : devel/pecl-APCu@php84
- phpize : lang/php84
- autoconf>0 : devel/autoconf
- pkgconf>=1.3.0_1 : devel/pkgconf
- Runtime dependencies:
-
- php.h : lang/php84
- Library dependencies:
-
- libbrotlienc.so : archivers/brotli
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for php84-brotli-0.20.0:
APCU=on: APCu cache compression support for objects
===> Use 'make config' to modify these settings
- Options name:
- archivers_php-brotli
- USES:
- php:ext pkgconfig
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
0.20.0 12 Jul 2026 17:24:46
    |
Muhammad Moinur Rahman (bofh)  Author: Paavo-Einari Kaipila |
archivers/php-brotli: Update version 0.19.0=>0.20.0
Changelog:
https://github.com/kjdev/php-ext-brotli/releases/tag/0.20.0
Commit log:
https://github.com/kjdev/php-ext-brotli/compare/0.19.0...0.20.0
remove config.m4 patch, which has been upstreamed
undo 63b6120db0b8290c6b7d0b91d16c94bfe617ebfe
PR: 296523
Approved by: submitter is maintainer |
0.19.0 04 Jul 2026 18:17:34
    |
Muhammad Moinur Rahman (bofh)  |
*/*php86*: Sunrise
Please DO NOT use this version in production, it is an early test version.
For upgrade notes please visit:
https://github.com/php/php-src/blob/php-8.6.0alpha1/UPGRADING
Changelog: https://github.com/php/php-src/blob/php-8.6.0alpha1/NEWS |
0.19.0 08 Jun 2026 19:31:47
    |
Vladimir Druzenko (vvd)  Author: Paavo-Einari Kaipila |
archivers/php-brotli: Update 0.18.2 => 0.19.0
Changelog:
https://github.com/kjdev/php-ext-brotli/releases/tag/0.19.0
Commit log:
https://github.com/kjdev/php-ext-brotli/compare/0.18.2...0.19.0
Enable APCu cache compression and patch config.m4 to always honor
APCU setting.
PR: 295867
Sponsored by: UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org> |
0.18.2_1 31 Oct 2025 00:06:19
    |
Älven (alven)  |
archivers/php-brotli: Bump version after maintainer change
PR: 289977
Approved by: yuri@ (Mentor, implicit)
Fixes: 8f3697945fad * archivers/php-brotli: Take maintainership |
0.18.2 31 Oct 2025 00:01:57
    |
Älven (alven)  Author: Paavo-Einari Kaipila |
archivers/php-brotli: Take maintainership
PR: 289977
Approved by: yuri@ (Mentor) |
0.18.2 08 Sep 2025 18:30:59
    |
Vladimir Druzenko (vvd)  Author: Paavo-Einari Kaipila |
archivers/php-brotli: Update 0.13.1 => 0.18.2
In 0.18.1 upstream add "PHP 8.5 alpha3 compatibility".
Changelogs:
https://github.com/kjdev/php-ext-brotli/releases/tag/0.14.0
https://github.com/kjdev/php-ext-brotli/releases/tag/0.14.2
https://github.com/kjdev/php-ext-brotli/releases/tag/0.15.0
https://github.com/kjdev/php-ext-brotli/releases/tag/0.15.1
https://github.com/kjdev/php-ext-brotli/releases/tag/0.15.2
https://github.com/kjdev/php-ext-brotli/releases/tag/0.15.2%2Bpie
https://github.com/kjdev/php-ext-brotli/releases/tag/0.16.0
https://github.com/kjdev/php-ext-brotli/releases/tag/0.17.0
https://github.com/kjdev/php-ext-brotli/releases/tag/0.18.0
https://github.com/kjdev/php-ext-brotli/releases/tag/0.18.1
https://github.com/kjdev/php-ext-brotli/releases/tag/0.18.2
PR: 289018
Approved by: daniel@shafer.cc (maintainer, timeout > 2 weeks) |
0.13.1 02 Aug 2025 00:45:58
    |
Muhammad Moinur Rahman (bofh)  |
archivers/php-brotli: Fix build with php85
Approved by: portmgr (blanket) |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.13.1 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.13.1 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.13.1 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.13.1 26 Mar 2021 16:58:59
  |
tcberner  |
archivers/php-brotli: Update to version 0.13.1
View changes to this version here:
https://github.com/kjdev/php-ext-brotli/commits/c17297688a6c7d23be33f170405f099aa7cd0d38
Submitted by: Daniel Shafer <daniel@shafer.cc> (maintainer)
Differential Revision: https://reviews.freebsd.org/D29346 |
0.7.0 09 May 2019 18:33:50
  |
tcberner  |
archivers/php-brotli: Update to version 0.7.0
Submitted by: Daniel Shafer <daniel@shafer.cc>
Differential Revision: https://reviews.freebsd.org/D20166 |
0.6.2 18 Mar 2019 20:24:57
  |
tcberner  |
[NEW PORT] archivers/php-brotli: PHP Extension for Brotli
Brotli is a generic-purpose lossless compression algorithm that compresses
data using a combination of a modern variant of the LZ77 algorithm, Huffman
coding and 2nd order context modeling, with a compression ratio comparable
to the best currently available general-purpose compression methods. It is
similar in speed with deflate but offers more dense compression.
This is the Brotli Extension for PHP
WWW: https://github.com/kjdev/php-ext-brotli
PR: 236610
Submitted by: Daniel Shafer <daniel@shafer.cc>
Differential_Revision: https://reviews.freebsd.org/D19619 |