Skip to content

install

Inhere edited this page Oct 16, 2021 · 3 revisions

安装

  • 使用 composer 命令
composer require inhere/console
  • 使用 composer.json

编辑 composer.json,在 require 添加

"inhere/console": "^4.0", // 需要 php > 7.3
"inhere/console": "^3.0", // 需要 php > 7.1
"inhere/console": "^2.0", // 需要 php > 7.0
"inhere/console": "dev-master", // latest code
// "inhere/console": "^1.0", // for php5, php > 5.6

然后执行: composer update

  • 直接拉取
git clone https://gitee/inhere/php-console.git // gitee
git clone https://github.com/inhere/php-console.git // github