You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 6, 2020. It is now read-only.
PHP's Phar class sadly requires that the output file name's extension must be .phar. Hence, the output directive for box2 will always need to be named *.phar. However, I always like to rename my executable Phar archives to just the basename. I use composer not composer.phar, and box build not box.phar build, etc. Clearly I can rename my output many different ways (command line, Makefile, Composer script, etc.), but I'd really love to have a self-contained process where box can rename myapp.phar to myapp before exiting.
PHP's
Pharclass sadly requires that the output file name's extension must be.phar. Hence, theoutputdirective for box2 will always need to be named*.phar. However, I always like to rename my executable Phar archives to just the basename. I usecomposernotcomposer.phar, andbox buildnotbox.phar build, etc. Clearly I can rename my output many different ways (command line, Makefile, Composer script, etc.), but I'd really love to have a self-contained process whereboxcan renamemyapp.phartomyappbefore exiting.