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

ActiveLibrary

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 1mo ago

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

26

—

LowBetter than 43% of packages

Maintenance44

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

438d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a3571d52b05eea1c4689ae9d8a60ca22ce1375956fd0f5115e968d0801009cb?d=identicon)[Red2White](/maintainers/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

[phan/phan

A static analyzer for PHP

5.6k11.2M1.1k](/packages/phan-phan)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)[php-soap/wsdl-reader

A WSDL reader in PHP

212.3M9](/packages/php-soap-wsdl-reader)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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