Skip to content

Instantly share code, notes, and snippets.

@Ivoz
Created August 23, 2012 05:43
Show Gist options
  • Save Ivoz/3433106 to your computer and use it in GitHub Desktop.
Save Ivoz/3433106 to your computer and use it in GitHub Desktop.
Install CakePHP 2.2.1 through composer
## Install CakePHP 2.2.1 through composer :D
# requires zip, phar php extensions
mkdir caketmp && cd caketmp
curl -s https://getcomposer.org/installer | php # get the composer.phar installer
wget https://gist.github.com/raw/3433079/a38e8d444d3c99471e5bcdcadf689b0c676ae131/composer.json # loads my custom repo with the cake core files
./composer.phar install # downloads CakePHP as a library
bin/cake bake . # install cake in current dir, using the ln'ed script composer has made
# cake sees itself as on the include_path, so it comments out CAKE_CORE_INLCUDE_PATH in webroot/index.php.
# This needs to be uncommented, and then everything should work :D
# my repo is at https://github.com/Ivoz/cakephp/tree/2.2-composed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment