souhaiebtar/php-cli-demo

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/souhaiebtar/php-cli-demo

0.0.1 2024-08-01 12:34 UTC

This package is auto-updated.

Last update: 2025-12-29 04:02:07 UTC


README

PHP command-line tool demonstration

Preview

Build Status Latest Stable Version License

Instal

This CLI application is a small game written in PHP and is installed using Composer:

composer global require souhaiebtar/php-cli-demo

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

Show me how

If 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

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

demo play

Update

composer global update souhaiebtar/php-cli-demo

Delete

composer global remove souhaiebtar/php-cli-demo