Download Old CakePHP Versions

I’m not really a fan of CakePHP, but I work with it often and understand it well. I recently had a project where a previous developer modified random cakephp library files directly, thus making it difficult for me to upgrade the framework.

I determined that the version currently in use was 1.2.1.8004, which surprisingly is no longer available for download from the CakePHP website. I even jumped onto IRC to ask folks where older versions were kept and no one was able to help.

I finally just pulled the cakephp source from the github account. I knew from the comments in the cakephp release that it was from 1/16/2009, so I looked for any commits that occured that day.

I determined that 9f83e96 was the official tag before the release. Once you have the cakephp repository cloned to your local machine, it’s easy to simply checkout that specific commit.

$ git clone git://github.com/cakephp/cakephp1x.git
$ cd cakephp1x
$ git checkout 9f83e96

Voila! Depending on what you want to do with this code, you can simply zip it up and go or create a new git branch.

$ git checkout -b your-branch-name

The CakePHP team really needs to restore an archive with old releases, or tell me where they’ve hidden it.

No related posts.

No Comments »

No comments yet.

RSS feed for comments on this post.

Leave a comment