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

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

gipfl/cli
=========

CLI utilities

v0.7.0(2y ago)07.6k↓50%2MITPHPPHP &gt;=5.6.0

Since Feb 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/gipfl/cli)[ Packagist](https://packagist.org/packages/gipfl/cli)[ RSS](/packages/gipfl-cli/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (10)Used By (2)

gipfl\\Cli
==========

[](#gipflcli)

CLI-related library. Currently provides Process- and Screen-related helper classes.

Usage
-----

[](#usage)

Just some usage examples. Please check our source code, as all useful public methods should carry a nice documentation.

### Change the your process title

[](#change-the-your-process-title)

This is what you'll see in your process list:

```
use gipfl\Cli\Process;

Process::setTitle('mydaemon: doing something');
```

### Restart the process, replacing itself

[](#restart-the-process-replacing-itself)

The new process will run in the same process space, after being started with the very same binary, given the same parameters and the the same environment:

```
Process::restart();
```

### Do more with your CLI screen

[](#do-more-with-your-cli-screen)

```
use gipfl\Cli\Screen;

$screen = Screen::instance();
echo $screen->center($screen->underline('Hello world'));
```

### Use some color

[](#use-some-color)

```
echo Screen::instance()->colorize('OK', 'green') . ": everything is fine!\n"'
```

Changes
-------

[](#changes)

### v0.7.0

[](#v070)

- dependencies: support react/promise v2 and v3

### v0.3.0

[](#v030)

- Process: fix restart when started from a shell
- Introduce Spinner

### v0.2.0

[](#v020)

- Process::restart() and related helper methods
- Screen helpers

### v0.1.0

[](#v010)

- First release

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

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

Recently: every ~315 days

Total

9

Last Release

782d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/75a66ea2d434466d56a8f975d8c58283a1a3b6ff47bae94654e3df5f15d23d45?d=identicon)[gipfl](/maintainers/gipfl)

---

Top Contributors

[![Thomas-Gelf](https://avatars.githubusercontent.com/u/553008?v=4)](https://github.com/Thomas-Gelf "Thomas-Gelf (14 commits)")

### Embed Badge

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

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.1k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[clue/stdio-react

Async, event-driven console input &amp; output (STDIN, STDOUT) for truly interactive CLI applications, built on top of ReactPHP

19810.2M27](/packages/clue-stdio-react)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[clue/term-react

Streaming terminal emulator, built on top of ReactPHP.

10410.2M2](/packages/clue-term-react)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)

PHPackages © 2026

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