I'd like to use Composer to install some libraries inside my app
directory but the src/app/composer.json
lists CakePHP as non-dev dependency:
"require": {
"php": ">=5.3.0",
"ext-mcrypt": "*",
"cakephp/cakephp": "~2.9"
},
"require-dev": {
"phpunit/phpunit": "3.7.*"
},
That causes a second copy of CakePHP getting installed into my app/Vendor
directory. It's annoying because it uses disc space and gets on the way of IDE's code intelligence.
What's the best way to prevent that? Is it safe to just remove the dependency altogether?