archivers/php-brotli 0.21.0 FreeBSD
Brotli extension for PHP
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
f61040fa77- License
- MIT
- Categories
- archivers
- Package size
- 17.2 KiB, 44.0 KiB installed
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | archivers/php-brotli | 0.21.0 |
| DragonFly | archivers/php-brotli | 0.13.1 |
Install
Binary package:
pkg install php82-brotli
From the ports tree:
cd /usr/ports/archivers/php-brotli/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= php82-brotli>0:archivers/php-brotli
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.21.0 | 0.21.0 | 0.13.1 | 0.13.1 | 0.21.0 |
| FreeBSD:14:quarterly | 0.21.0 | 0.21.0 | n/a | 0.13.1 | 0.21.0 |
| FreeBSD:15:latest | 0.21.0 | 0.21.0 | n/a | 0.13.1 | 0.13.1 |
| FreeBSD:15:quarterly | 0.21.0 | 0.21.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.21.0 | 0.21.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libbrotlienc.so: archivers/brotli
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 7
No port depends on this one.
Configuration
Options name: archivers_brotli
| Option | Default | Description |
|---|---|---|
| APCU | on | APCu cache compression support for objects |
- USES
- php:ext pkgconfig
- Service scripts
- none
- Flavors
php83-brotli-0.21.0,php84-brotli-0.21.0,php85-brotli-0.21.0,php86-brotli-0.21.0
Message after installing
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| kjdev-php-ext-brotli-0.21.0_GH0.tar.gz | 39644 | 5f2f3c14ca0db0e8a887bb9e33fc13a56c084b6b6ff7a59ddf9c3bfa96f22bf1 |