These scripts automate the process of obtaining a copy of the CakePHP core at a specific point release, the latest point release for a minor version, or a specific commit. They also provide a way to symlink the Cake core into an existing Cake project, which is handy for keeping all of the core files out of your project repo.
-
Place
add-cakephp-version.sh
in a folder of its own. -
Run
./add-cakephp-version.sh x.y[.z]
(where x is a major version number, y is a minor version number and z is an optional point release) to clone the CakePHP official git repository and set up a folder namedcake_x.y.z
in the same folder as the script.