CakePHP: The Rapid Development Framework for PHP - Official Repository
Go to file
othercorey e8924b0ee0
Update getsentry/action-github-app-token to version 3
2024-02-19 03:23:09 -06:00
.github Update getsentry/action-github-app-token to version 3 2024-02-19 03:23:09 -06:00
.phive update stan 2023-05-02 21:52:42 +02:00
config Update bootstrap.php 2021-10-26 14:42:52 +03:00
contrib Add validation script not to miss deprecation aliases. 2023-01-18 10:42:38 +01:00
src Fix Array to String warning in EventFiredWith constraint 2024-01-05 14:30:58 -05:00
templates Fix rendering of dev error pages in 8.3 2023-12-22 10:58:42 -05:00
tests Fix Array to String warning in EventFiredWith constraint 2024-01-05 14:30:58 -05:00
.editorconfig Backport phive to 4.x (#16979) 2023-01-26 13:45:02 -05:00
.gitattributes Ignore .phive folder from git archive 2023-02-09 12:06:35 +05:30
.gitignore Backport phive to 4.x (#16979) 2023-01-26 13:45:02 -05:00
.mailmap Update .mailmap 2023-07-31 01:14:03 +02:00
.stickler.yml Disable stickler's autofixer until it's kinks are sorted out. 2019-12-09 11:47:58 +05:30
LICENSE Update LICENSE 2019-01-02 13:49:27 +01:00
Makefile Update branch ref for build script. 2021-11-06 11:55:48 -04:00
README.md Update Slack link 2023-01-14 12:33:02 +02:00
VERSION.txt Update version number to 4.5.3 2024-01-19 22:07:50 -05:00
composer.json Allow paragonie/csp-builder 3 2023-12-19 02:45:55 -06:00
phpcs.xml Show phpcs sniff with each error 2021-01-06 19:36:38 -06:00
phpstan-baseline.neon Update baseline files. 2023-08-12 15:36:27 -04:00
phpstan.neon.dist ignore FrozenDate in phpstan and regen baselines 2023-08-09 21:23:13 +02:00
phpunit.xml.dist Fix captureError() 2023-04-14 22:36:21 -04:00
psalm-baseline.xml Update baseline from merge. 2023-08-12 11:33:35 -04:00
psalm.xml update psalm to v5 2023-04-11 23:22:06 +02:00

README.md

CakePHP

Software License Coverage Status Code Consistency Total Downloads Latest Stable Version

CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Associative 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 run the following:

$ composer require cakephp/cakephp

For details on the (minimum/maximum) PHP version see version map.

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.
  • CakePHP - The rapid development PHP framework.
  • CookBook - The CakePHP user documentation; start learning here!
  • API - A reference to CakePHP's classes.
  • Awesome CakePHP - A list of featured resources around the framework.
  • 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!

  • Slack - Join us on Slack.
  • Discord - Join us on Discord.
  • #cakephp on irc.freenode.net - Come chat with us, we have cake.
  • Forum - Official CakePHP forum.
  • GitHub Issues - Got issues? Please tell us!
  • Roadmaps - Want to contribute? Get involved!

Contributing

Security

If youve found a security issue in CakePHP, please use the procedure described in SECURITY.md.