This is an experiment in using a custom deflate compressor in PHARs created with box.
The idea is to override PHP's default zlib.deflate
filter with a custom implementation. The zlib.deflate
filter is used when creating PHAR with GZ compression. Replacing the default implementation with a more performant compressor such as zopfli should in theory result in smaller PHARs.