PHPackages                             whatthejeff/fab-cli - 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. whatthejeff/fab-cli

ActiveLibrary[CLI &amp; Console](/categories/cli)

whatthejeff/fab-cli
===================

Brighten up your shell!

v1.0.2(11y ago)418MITPHPPHP &gt;=5.3.3

Since May 31Pushed 11y agoCompare

[ Source](https://github.com/whatthejeff/fab-cli)[ Packagist](https://packagist.org/packages/whatthejeff/fab-cli)[ Docs](http://github.com/whatthejeff/fab-cli)[ RSS](/packages/whatthejeff-fab-cli/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

fab-cli
=======

[](#fab-cli)

Brighten up your shell!

Commands
--------

[](#commands)

### fab

[](#fab)

[![fab composer example](docs/images/fab-composer.png)](docs/images/fab-composer.png)[![fab PHPUnit example](docs/images/fab-phpunit.png)](docs/images/fab-phpunit.png)

### fabify

[](#fabify)

[![fabify composer example](docs/images/fabify-composer.png)](docs/images/fabify-composer.png)[![fabify PHPUnit example](docs/images/fabify-phpunit.png)](docs/images/fabify-phpunit.png)

Requirements
------------

[](#requirements)

fab-cli requires:

- PHP 5.3.3 or later.
- A terminal emulator with support for ANSI escape sequences.

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

[](#installation)

**Warning:** The install instructions below suggest renaming the `fab.phar`binary to `fab`. If your system has [fabric](https://github.com/fabric/fabric)installed, you should leave the `.phar` extension on the binary so that you don't have any unexpected surprises during your next deploy.

### Global

[](#global)

With cURL:

```
$ sudo curl -Lo /usr/local/bin/fab https://github.com/whatthejeff/fab-cli/releases/download/v1.0.2/fab.phar
$ sudo curl -Lo /usr/local/bin/fabify https://github.com/whatthejeff/fab-cli/releases/download/v1.0.2/fabify.phar
$ sudo chmod a+x /usr/local/bin/fab /usr/local/bin/fabify

```

With Wget:

```
$ sudo wget -O /usr/local/bin/fab https://github.com/whatthejeff/fab-cli/releases/download/v1.0.2/fab.phar
$ sudo wget -O /usr/local/bin/fabify https://github.com/whatthejeff/fab-cli/releases/download/v1.0.2/fabify.phar
$ sudo chmod a+x /usr/local/bin/fab /usr/local/bin/fabify

```

With composer:

```
$ composer global require whatthejeff/fab-cli @stable
$ export PATH="$PATH:$HOME/.composer/vendor/bin"

```

### Local

[](#local)

With cURL:

```
$ curl -Lo fab https://github.com/whatthejeff/fab-cli/releases/download/v1.0.2/fab.phar
$ curl -Lo fabify https://github.com/whatthejeff/fab-cli/releases/download/v1.0.2/fabify.phar
$ chmod +x fab fabify
$ export PATH="$PATH:$(pwd)"

```

With Wget:

```
$ wget -O fab https://github.com/whatthejeff/fab-cli/releases/download/v1.0.2/fab.phar
$ wget -O fabify https://github.com/whatthejeff/fab-cli/releases/download/v1.0.2/fabify.phar
$ chmod +x fab fabify
$ export PATH="$PATH:$(pwd)"

```

With composer:

```
$ composer require whatthejeff/fab-cli @stable
$ export PATH="$PATH:$(pwd)/vendor/bin"

```

Usage
-----

[](#usage)

```
$ fab command [args...]
$ command [args...] | fabify

```

Acknowledgements
----------------

[](#acknowledgements)

fab-cli was inspired by:

- [fabgit](https://github.com/erikaheidi/fabgit) by @erikaheidi
- [Fab Symfony Console](https://github.com/igorw/fab-symfony-console) by @igorw

License
-------

[](#license)

fab-cli is licensed under the [MIT license](LICENSE).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~1 days

Total

3

Last Release

4364d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/adbe017ebec901082c02ab3fd307196b2a1c9103c27c8e4327ba5ca25252a8d6?d=identicon)[whatthejeff](/maintainers/whatthejeff)

---

Top Contributors

[![whatthejeff](https://avatars.githubusercontent.com/u/306525?v=4)](https://github.com/whatthejeff "whatthejeff (11 commits)")

---

Tags

consoleterminalcolorfabfabulousrainbowcolorful

### Embed Badge

![Health badge](/badges/whatthejeff-fab-cli/health.svg)

```
[![Health](https://phpackages.com/badges/whatthejeff-fab-cli/health.svg)](https://phpackages.com/packages/whatthejeff-fab-cli)
```

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.1B11.3k](/packages/symfony-console)[php-school/cli-menu

A command line menu helper in PHP

2.0k1.1M27](/packages/php-school-cli-menu)[kevinlebrun/colors.php

Colors for PHP CLI scripts

3426.7M45](/packages/kevinlebrun-colorsphp)[recca0120/terminal

run laravel artisan command in web application

878410.9k2](/packages/recca0120-terminal)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)[alecrabbit/php-console-spinner

Extremely flexible spinner for \[async\] php cli applications

24032.0k2](/packages/alecrabbit-php-console-spinner)

PHPackages © 2026

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