Andy Postnikov

Results 118 comments of Andy Postnikov

I'd say it needs tests and then it could be a locale console command patch in core

@greg-1-anderson here's quick example It cuts > 26% And if gzip used via `phar` ir makes x5 smaller, at least it greatly saves disk and a bit of carbon) https://github.com/andypost/drush8-repacker

It just needs to pass `-d phar.readonly=0` to php

Still not sure which kind of autoloader to use to optimize classloader

https://github.com/box-project/box/blob/master/doc/configuration.md#excluding-dev-files-exclude-dev-files has setting to remove dev-files, also docs/examples are useless inside phar

Thank you, I will redo patch for config

Somehow https://github.com/box-project/box/blob/master/doc/configuration.md#excluding-dev-files-exclude-dev-files is not enough to remove all dev dependencies @Chi-teck is it ok to enable GZ compression? As I see php requires zlib (it can't be build without it)...

I find `dump-autoload` useful too

I think it could be closed, maybe `dump-autoload` could be added but it needs to measure

Used to build 5.0_rc4 for Alpinelinux, just a small patch allowed to build without errors https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/37407/diffs#b79d2b5ff56a34ca9289565a23e8b9f62d3db676 https://gitlab.alpinelinux.org/alpine/aports/-/blob/cbcb3a88b4350e735f294d50f78163f13737bead/testing/php82-pecl-phalcon/fix-build.patch