PMVC-CLI design to install globally and it could run anywhere under project folder. So recommend install it globally.
composer global require pmvc/pmvc-cli
You could run it as
pmvc [app name]:[action name]
These packages controll by each project and not instlled as global, need install by yourself.
"pmvc-plugin/cli" : "*",
"pmvc-plugin/controller" : "*",
"pmvc-plugin/default_forward" : "*",
"pmvc-plugin/dispatcher" : "*",
"pmvc-plugin/dotenv" : "*"
"pmvc-plugin/debug",
"pmvc-plugin/debug_cli",
"pmvc-plugin/dev",
"pmvc-plugin/error",
- mkdir test_folder
- curl -sS https://getcomposer.org/installer | php
- vim composer.json
{
"require": {
"pmvc/pmvc-cli": "dev-master"
}
}
- php composer.phar install
- php composer.phar require pmvc/pmvc-cli
php composer.phar global require pmvc/pmvc-cli
or
composer global require pmvc/pmvc-cli