kajoom / php-cli-starter
PHP command-line tool demo
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kajoom/php-cli-starter
Requires
- php: ^7.4|^8.0
- symfony/console: ^5.0|^6.0
Requires (Dev)
- phpunit/phpunit: ^9.6
This package is auto-updated.
Last update: 2025-10-13 07:27:08 UTC
README
A simple PHP command-line tool starter.
Install
This CLI application is a small game written in PHP and is installed using Composer:
composer global require kajoom/php-cli-starter
Make sure the ~/.config/composer/vendor/bin
or ~/.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=~/.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_profile
Use
All you need to do is call the phpclistarter
command to start the game:
phpclistarter play
Update
composer global update kajoom/php-cli-starter
Delete
composer global remove kajoom/php-cli-starter