composer.json

composer.json

{"name":"cakephp/app","description":"CakePHP skeleton app","homepage":"http://cakephp.org","type":"project","license":"MIT","require":{"php":">=5.5.9","cakephp/cakephp":"3.3.*","mobiledetect/mobiledetectlib":"2.*","cakephp/migrations":"~1.0","cakephp/plugin-installer":"*","kbsali/redmine-api":"~1.0"},"require-dev":{"psy/psysh":"@stable","cakephp/debug_kit":"~3.2","cakephp/bake":"~1.1"},"suggest":{"markstory/asset_compress":"An asset compression plugin which provides file concatenation and a flexible filter system for preprocessing and minification.","phpunit/phpunit":"Allows automated tests to be run without system-wide install.","cakephp/cakephp-codesniffer":"Allows to check the code against the coding standards used in CakePHP."},"autoload":{"psr-4":{"App\\":"src"}},"autoload-dev":{"psr-4":{"App\\Test\\":"tests","Cake\\Test\\":"./vendor/cakephp/cakephp/tests"}},"scripts":{"post-install-cmd":"App\\Console\\Installer::postInstall","post-create-project-cmd":"App\\Console\\Installer::postInstall","post-autoload-dump":"Cake\\Composer\\Installer\\PluginInstaller::postAutoloadDump"},"minimum-stability":"beta","prefer-stable":true}

composer.lock

githubを使っている場合は、git管理から除外せずに、
.gitignoreにも記載しないで大丈夫です。

cakephp側での設定

app/config/bootstrap (既存のファイルに追記)

app/config/bootstrap

(70行目あたりから一部抜粋)/*
* Read configuration file and inject configuration into various
* CakePHP classes.
*
* By default there is only one configuration file. It is often a good
* idea to create multiple configuration files, and separate the configuration
* that changes from configuration that does not. This makes deployment simpler.
*/try{Configure::config('default',newPhpConfig());Configure::load('app','default',false);Configure::load('redmine','default',false);}catch(\Exception$e){exit($e->getMessage()."\n");}(85行目以降を省略)