A CLI utility to generate .phar archives.
A simple command line to generate PHAR files.
composer global require filipekiss/pharmacist
pharmacist create MySourceDirectory MyPhar.phar
By default, Pharmacist will package only the files in your
vendor folder. This is to prevent useless files to be packaged together making the output file unnecessarily big. This options takes a PCRE as argument. The default is
/(src|vendor)/. To include all files, for example, you could call
pharmacist create MySourceDirectory MyPhar.phar —include-files "/.*/"
CLI entry point and the
Web Entry Point will be added separately, so you don't need to worry about them in this option.
If you discover any security related issues, please email firstname.lastname@example.org instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.