phpunit安装

composer.json添加一下配置

"repositories": {
    "packagist": {
      "type": "composer",
      "url": "https://packagist.phpcomposer.com"
    }
  },
"require": {
    "phalcon/incubator": "^3.0",
    "phpunit/phpunit": "^5.0"
  }

执行composer update
然后在工程下创建tests目录

你可能感兴趣的:(phpunit安装)