Page contents


The CakePHP cookbook, is an openly developed community editable documentation project. We hope to maintain a high level of quality, validity and accuracy for the documentation.

Read the book anywhere

Enjoy the CakePHP cookbook almost anywhere. Available, as both a PDF and EPUB, you can now read the docs on more devices and offline.

Getting started

Build a blog

Get started with the blog tutorial. You’ll learn the basics of CakePHP, and build a basic blog in the process.


Learn about a typical CakePHP request and the conventions that power CakePHP.


Controllers handle requests, and help co-ordinate and prepare the response for the client. Read more about Controllers


Views are the presentation layer in CakePHP. They convert the data fetched from Models, into the output format the client requested. Read more about Views


Models are the heart of your application, they handle the validation, storage and retrieval of your data. Read more about Models

Getting Help

If you’re stuck, there are a number of places you can get help