A CLI utility to generate .phar archives.

0.2.2 2015-02-22 05:06 UTC


Latest Version Software License

A simple command line to generate PHAR files.


composer global require filipekiss/pharmacist


pharmacist create MySourceDirectory MyPhar.phar

Included files

By default, Pharmacist will package only the files in your src and 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 "/.*/"

The 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 instead of using the issue tracker.



The MIT License (MIT). Please see License File for more information.