PHPackages                             filipekiss/pharmacist - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. filipekiss/pharmacist

Abandoned → [macfja/phar-builder](/?search=macfja%2Fphar-builder)ArchivedLibrary[CLI &amp; Console](/categories/cli)

filipekiss/pharmacist
=====================

A CLI utility to generate .phar archives.

0.2.2(11y ago)13211MITPHP

Since Feb 22Pushed 11y agoCompare

[ Source](https://github.com/filipekiss/pharmacist)[ Packagist](https://packagist.org/packages/filipekiss/pharmacist)[ RSS](/packages/filipekiss-pharmacist/feed)WikiDiscussions current Synced 1mo ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

Pharmacist
==========

[](#pharmacist)

[![Latest Version](https://camo.githubusercontent.com/398506451b3a4eb4710ecb5eeed91e36e8d313945754036f0b8b6ae4f9d20764/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f66696c6970656b6973732f706861726d61636973742e7376673f7374796c653d666c61742d737175617265)](https://github.com/filipekiss/pharmacist/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

A simple command line to generate PHAR files.

Installation
------------

[](#installation)

```
composer global require filipekiss/pharmacist
```

Usage
-----

[](#usage)

```
pharmacist create MySourceDirectory MyPhar.phar
```

### Included files

[](#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.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Filipe Kiss](https://github.com/filipekiss)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

4097d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d5e008ef2ac60745df24d75aa4db859703217b76da36803dded8bd969ab6a92?d=identicon)[filipekiss](/maintainers/filipekiss)

---

Top Contributors

[![filipekiss](https://avatars.githubusercontent.com/u/48519?v=4)](https://github.com/filipekiss "filipekiss (17 commits)")

### Embed Badge

![Health badge](/badges/filipekiss-pharmacist/health.svg)

```
[![Health](https://phpackages.com/badges/filipekiss-pharmacist/health.svg)](https://phpackages.com/packages/filipekiss-pharmacist)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[crazywhalecc/static-php-cli

Build single static PHP binary, with PHP project together, with popular extensions included.

1.8k13.9k](/packages/crazywhalecc-static-php-cli)[matthiasnoback/symfony-console-form

Use Symfony forms for Console command input

368264.8k8](/packages/matthiasnoback-symfony-console-form)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[shel/neos-terminal

Neos CMS Ui terminal for running Eel expressions and other commands

1441.3k](/packages/shel-neos-terminal)[dpi/dogit

191.1k](/packages/dpi-dogit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
