News | Development | Documentation

Benefits

Build Quickly

Use code generation and scaffolding features to rapidly build prototypes.

No Configuration

No complicated XML or YAML files. Just setup your database and you're ready to bake.

Friendly License

CakePHP is licensed under the MIT license which makes it perfect for use in commercial applications.

Batteries Included

The things you need are built-in. Translations, database access, caching, validation, authentication, and much more are all built into one of the original PHP MVC frameworks.

Clean MVC Conventions

Instead of having to plan where things go, CakePHP comes with a set of conventions to guide you in developing your application.

Secure

CakePHP comes with built-in tools for input validation, CSRF protection, Form tampering protection, SQL injection prevention, and XSS prevention, helping you keep your application safe & secure.

Example Recipe

  • class RecipesController extends Controller
                    {
                    public function cake()
                    {
                    $ingredients = TableRegistry::get('Ingredients');
    
                    $cake = $ingredients->select(['name'])
                    ->find('yummy')
                    ->find('healthy');
                    $topping = $ingredients->select(['name'])
                    ->where(['has_cherry' => true])
                    ->first();
    
                    $this->set(compact('cake', 'topping'));
                    }
                    }

    Lorem ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui

    Lorem ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui

    Lorem ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui

    Lorem ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui

  •   $(function () {
    
                // make code pretty
                window.prettyPrint && prettyPrint()
    
                $(document).on('click', '.yamm .dropdown-menu', function (e) {
                    e.stopPropagation()
                })
    
            })

    Lorem ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui

    Lorem ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui ipsum dolor sit amet, me qui

News and Releases

CakePHP 2.6.1 Released

published on 2015-01-16

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed egestas aliquet purus sit amet facilisis. Proin a orci pellentesque.

Read more
 

CakePHP 3.0.0-RC1 Released

published on 2015-01-16 Read more
 

CakePHP Community 2014

published on 2015-01-16 Read more

Books

Book title

Book title

Book title

Book title

It is Simple as CakePHP

Who uses CakePHP