Skip to content

pmvc/pmvc-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version Latest Unstable Version CircleCI License Total Downloads

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

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