clue / phar-composer

Simple phar creation for every PHP project managed via Composer
https://clue.engineering/2019/introducing-phar-composer
MIT License
855 stars 78 forks source link

Significantly improve performance when adding phar contents #90

Closed clue closed 4 years ago

clue commented 4 years ago

Skip unneeded indirection through Box and add files directly to underlying Phar instance. This speeds up build times considerably, e.g. building this project changed from ~37s to ~1s on my laptop.