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

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

souhaiebtar/php-cli-demo
========================

0.0.1(1y ago)08MITPHPPHP ^7.4|^8.0

Since Aug 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/souhaiebtar/php-cli-demo)[ Packagist](https://packagist.org/packages/souhaiebtar/php-cli-demo)[ RSS](/packages/souhaiebtar-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/souhaiebtar/php-cli-demo/workflows/CI/badge.svg)](https://github.com/souhaiebtar/php-cli-demo/actions) [![Latest Stable Version](https://camo.githubusercontent.com/2d72197cdf710171af3f9ecb4586510abe39ccf433dc10e9be51a279c91888cf/68747470733a2f2f706f7365722e707567782e6f72672f736f7568616965627461722f7068702d636c692d64656d6f2f76)](//packagist.org/packages/souhaiebtar/php-cli-demo) [![License](https://camo.githubusercontent.com/f76c22e2aec8171ed84e83cd1c0bab555c9a9b4d6f7f3f3092f6f6c0bb249699/68747470733a2f2f706f7365722e707567782e6f72672f736f7568616965627461722f7068702d636c692d64656d6f2f6c6963656e7365)](//packagist.org/packages/souhaiebtar/php-cli-demo)

Instal
------

[](#instal)

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

```
composer global require souhaiebtar/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=~/.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_profile

```

Use
---

[](#use)

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

```
demo play

```

Update
------

[](#update)

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

```

Delete
------

[](#delete)

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

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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

653d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  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)[phpcr/phpcr-shell

Shell for PHPCR

721.3M8](/packages/phpcr-phpcr-shell)[madewithlove/license-checker

CLI tool to verify allowed licenses for composer dependencies

54449.8k21](/packages/madewithlove-license-checker)[shel/neos-terminal

Neos CMS Ui terminal for running Eel expressions and other commands

1441.3k](/packages/shel-neos-terminal)

PHPackages © 2026

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