Skip to content


Subversion checkout URL

You can clone with
Download ZIP
CakePHP API Docs
PHP HTML JavaScript CSS Other
branch: master

Fix double escaping.

It makes the docs all messed up looking.

Fixes #25
Fixes cakephp/cakephp#2644
latest commit 064566adff
@markstory markstory authored

CakePHP API docs

The CakePHP API docs allow you to build the API documentation as seen on These API docs are built with apigen. Thanks to the Apigen team for producing a great tool.


  • PHP 5.3.7 or greater.
  • Make
  • A clone of CakePHP
  • git


After cloning the repository make sure you install the git submodules:

git submodule init
git submodule update

After installing the submodules, you'll need to have a clone of cakephp/cakephp as well. Bulding the docs uses the CakePHP source code, and will modify which tag/reference is currently checked out.

Building the documentation

To build the documentation you will need to use make. You can build all the documentation using:

make build-all

Or you can build one version by using:

make build-2.0

Where the trailing version number is the major.minor release to build. The following versions can be built:

  • 1.2
  • 1.3
  • 2.0
  • 2.1
  • 2.2
  • 2.3
  • 2.4
  • 2.5
  • 2.6
  • 3.0

By default the api-docs assume that ../cakephp is a git clone of CakePHP. Also documentation will be output to ./build/api. If you want to change these directories you can use the SOURCE_DIR and BUILD_DIR directories:

make build-2.0 SOURCE_DIR=../cake BUILD_DIR=../api-output

Is an example of using custom directories.

Something went wrong with that request. Please try again.