PHPackages                             tedblanc/php-cli-demo - 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. tedblanc/php-cli-demo

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

tedblanc/php-cli-demo
=====================

PHP command-line tool demo

v1.0(1y ago)04MITPHPPHP ^8.0CI passing

Since Mar 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Red2White/php-cli-demo)[ Packagist](https://packagist.org/packages/tedblanc/php-cli-demo)[ RSS](/packages/tedblanc-php-cli-demo/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

PHP CLI Demo
============

[](#php-cli-demo)

PHP command-line tool demonstration

 [![Preview](/art/preview.png)](/art/preview.png)

 [![Build Status](https://github.com/tedblanc/php-cli-demo/workflows/CI/badge.svg)](https://github.com/tedblanc/php-cli-demo/actions) [![Latest Stable Version](https://camo.githubusercontent.com/c5197954b950b2722dade4e0a88cf855edbbdd78221a660804f336946c4e5e99/68747470733a2f2f706f7365722e707567782e6f72672f746564626c616e632f7068702d636c692d64656d6f2f76)](https://packagist.org/packages/tedblanc/php-cli-demo) [![License](https://camo.githubusercontent.com/54cbc080dbe140199b597f65d466aa57d3c8f575f379d4bcaea9d77f06856912/68747470733a2f2f706f7365722e707567782e6f72672f746564626c616e632f7068702d636c692d64656d6f2f6c6963656e7365)](https://packagist.org/packages/tedblanc/php-cli-demo)

Install
-------

[](#install)

This CLI application is a small game written in PHP and is installed using [Composer](https://getcomposer.org):

```
composer global require tedblanc/php-cli-demo

```

Make sure the `~/.composer/vendor/bin` directory is in your system's `PATH`.

Show me howIf it's not already there, add the following line to your Bash configuration file (usually `~/.bash_profile`, `~/.bashrc`, `~/.zshrc`, etc.):

```
export PATH=~/.config/composer/vendor/bin:$PATH

```

If the file doesn't exist, create it.

Run the following command on the file you've just updated for the change to take effect:

```
source ~/.bash_rc

```

Use
---

[](#use)

All you need to do is call the `play` command to start the game:

```
demo play

```

Update
------

[](#update)

```
composer global update tedblanc/php-cli-demo

```

Delete
------

[](#delete)

```
composer global remove tedblanc/php-cli-demo

```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance42

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Unknown

Total

1

Last Release

483d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25600974?v=4)[Taras Fihar](/maintainers/Red2White)[@Red2White](https://github.com/Red2White)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tedblanc-php-cli-demo/health.svg)

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)

PHPackages © 2026

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