在阅读 Laravel 书籍时,为什么作者建议在文件中安装phpunit
as a ?require-dev
composer.json
作曲家.json
{
"require": {
"laravel/framework": "4.0.*"
},
"require-dev": {
"phpunit/phpunit": "3.7.*"
},
...
我确实composer update
安装了它phpunit
,为什么不把它放在下面require
呢?