pmvc/pmvc-cli

PMVC Global command-line, type "pmvc xxx" in your project folder

0.6.4 2023-09-09 06:39 UTC

This package is auto-updated.

Last update: 2024-12-09 09:35:39 UTC


README

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