clue / phar-composer

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

Bundle `StubGenerator` and `Extract` from legacy herrera-io/box v1.6.1 #119

Closed clue closed 2 years ago

clue commented 2 years ago

This changeset bundles the StubGenerator and Extract classes from legacy herrera-io/box v1.6.1 which has been abandoned and no longer has an installable candidate. In particular, the referenced phine/exception has been taken over. On top of this, this fixes the installation using Composer and also happens to reduce the resulting Phar file size from around 1904 KB to 1814 KB.

A longer-term solution could be to update to humbug/box as suggested by herrera-io/box, but we're only using a very small subset of its features, so I figured it's probably better to drop this entirely.