A PHP cli app.
Installation Use one of the following methods:
- Clone the repository
git clone https://github.com/ItangSanjana/pca.git
- Directly download the zip archive https://github.com/ItangSanjana/pca/archive/refs/heads/main.zip then extract it.
Preparation
- Open the terminal
- Go to the project root directory
cd path/to/pca
- Install everything needed using composer
composer install
Usage
- Run the application with the command
php pca
or./pca
from the project root directory. - Run with arguments, for example,
php pca hello world
or./pca hello world
. - Run unit-test with the command, still from the project root directory,
./vendor/bin/phpunit --verbose tests
.