pmvc / pmvc-cli
PMVC Global command-line, type "pmvc xxx" in your project folder
Installs: 1 832
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires (Dev)
README
PMVC-CLI
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]
Require / Need install following pakaging by yourself
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" : "*"
Suggests to install.
"pmvc-plugin/debug",
"pmvc-plugin/debug_cli",
"pmvc-plugin/dev",
"pmvc-plugin/error",
Install with Composer
1. Download composer
- mkdir test_folder
- curl -sS https://getcomposer.org/installer | php
2. Install by composer.json or use command-line directly
2.1 Install by composer.json
- vim composer.json
{
"require": {
"pmvc/pmvc-cli": "dev-master"
}
}
- php composer.phar install
2.2 Or use composer command-line
- php composer.phar require pmvc/pmvc-cli
2.3 Inatall globally
php composer.phar global require pmvc/pmvc-cli
or
composer global require pmvc/pmvc-cli