http://book.cakephp.org/2.0/ja/installation/advanced-installation.html composer.jsonに { "name": "example-app", "repositories": [ { "type": "pear", "url": "http://pear.cakephp.org" } ], "require": { "cakephp/cakephp": ">=2.4.9" }, "config": { "vendor-dir": "Vendor/" } } あとは
$php composer.phar install とするだけ requireの書き方を以前 "pear-cakephp/cakephp": "2.*" このような形でかいていたんだけど vagrantでprovisionしたときに Your requirements could not be resolved to an installable set of packages. Problem 1 - The requested package pear-cakephp/cakephp could not be found in any version, there may be a typo in the package name. とのエラーが出たため requreを
"cakephp/cakephp": ">=2.4.9" とすることで実行可能だった
Published by