clue/phar-composer — pull request #8 by clue (2013-08-07 12:53:47+00:00)
Title: Support running phar archives with no ext-phar

Always embed phar extractor into phar archive. This allows the phar file to be run even in environments without ext-phar.

This increases uncompressed file size by about 6 KiB, compressed file size by about 2 KiB. The below table shows some example file sizes with one of the smaller phar archives generated. Imo the increase in file size in negligible in contrast to how big most phar archives are.

Package | Normal Size | Size with Extractor | Size delta | Size delta%
--- | --- | --- | --- | ---
clue/psocksd.phar | 660,1 KiB | 666,5 KiB | +6,4 KiB | +0,97%
clue/psocksd.phar.gz | 144,0 KiB | 146,0 KiB | +2,0 KiB | +1,39%
clue/psocksd.phar.bz2 | 110,5 KiB | 112,2 KiB | +1,7 KiB | +1,54%