Skip to content


Subversion checkout URL

You can clone with
Download ZIP
CakePHP: The Rapid Development Framework for PHP - Official Repository
PHP Other
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

CakePHP framework


CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Active Record, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.

Installing CakePHP via composer

You can install CakePHP into your project using composer. If you're starting a new project, we recommend using the app skeleton as a starting point. For existing applications you can add the following to your composer.json file:

"require": {
    "cakephp/framework": "dev-3.0"

And run php composer.phar update

Running tests

Assuming you have PHPUnit installed system wide using one of the methods stated here, you can run the tests for cakephp by doing the following:

  1. Copy phpunit.xml.dist to phpunit.xml
  2. Add the relevant database credentials to your phpunit.xml if you want to run tests against a non-SQLite datasource.
  3. Run phpunit --stderr


See for more information.

Some Handy Links

CakePHP - The rapid development PHP framework

CookBook - THE CakePHP user documentation; start learning here!

API - A reference to CakePHP's classes

Plugins - A repository of extensions to the framework

The Bakery - Tips, tutorials and articles

Community Center - A source for everything community related

Training - Join a live session and get skilled with the framework

CakeFest - Don't miss our annual CakePHP conference

Cake Software Foundation - Promoting development related to CakePHP

Get Support!

#cakephp on - Come chat with us, we have cake

Google Group - Community mailing list and forum

GitHub Issues - Got issues? Please tell us!

Roadmaps - Want to contribute? Get involved!

Bake Status

Cake Power

Something went wrong with that request. Please try again.