cakephp / cakephp
The CakePHP framework
Installs: 11 200 019
Dependents: 1 852
Suggesters: 6
Security: 17
Stars: 8 632
Watchers: 557
Forks: 3 450
Open Issues: 43
Requires
- php: >=8.1
- ext-intl: *
- ext-json: *
- ext-mbstring: *
- cakephp/chronos: 3.x-dev
- composer/ca-bundle: ^1.2
- laminas/laminas-diactoros: ^3.0
- laminas/laminas-httphandlerrunner: ^2.6
- league/container: ^4.2
- psr/container: ^2.0
- psr/http-client: ^1.0.2
- psr/http-factory: ^1.0.2
- psr/http-message: ^2.0
- psr/http-server-handler: ^1.0.2
- psr/http-server-middleware: ^1.0.2
- psr/log: ^3.0
- psr/simple-cache: ^3.0
Requires (Dev)
- cakephp/cakephp-codesniffer: ^5.0
- mikey179/vfsstream: ^1.6.10
- paragonie/csp-builder: ^2.3
- phpunit/phpunit: ^10.1.0
Suggests
- ext-curl: To enable more efficient network calls in Http\Client.
- ext-openssl: To use Security::encrypt() or have secure CSRF token generation.
- lib-ICU: The intl PHP library, to use Text::transliterate() or Text::slug()
- paragonie/csp-builder: CSP builder, to use the CSP Middleware
Provides
Replaces
- cakephp/cache: 5.0.0-RC1
- cakephp/collection: 5.0.0-RC1
- cakephp/console: 5.0.0-RC1
- cakephp/core: 5.0.0-RC1
- cakephp/database: 5.0.0-RC1
- cakephp/datasource: 5.0.0-RC1
- cakephp/event: 5.0.0-RC1
- cakephp/form: 5.0.0-RC1
- cakephp/http: 5.0.0-RC1
- cakephp/i18n: 5.0.0-RC1
- cakephp/log: 5.0.0-RC1
- cakephp/orm: 5.0.0-RC1
- cakephp/utility: 5.0.0-RC1
- cakephp/validation: 5.0.0-RC1
- 5.x-dev
- 5.0.0-RC1
- 5.0.0-beta2
- 5.0.0-beta1
- 4.x-dev
- 4.4.14
- 4.4.13
- 4.4.12
- 4.4.11
- 4.4.10
- 4.4.9
- 4.4.8
- 4.4.7
- 4.4.6
- 4.4.5
- 4.4.4
- 4.4.3
- 4.4.2
- 4.4.1
- 4.4.0
- 4.4.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 2.5.0-RC1
- 2.5.0-beta
- 2.4.10
- 2.4.9
- 2.4.8
- 2.4.7
- 2.4.6
- 2.4.5
- dev-issue-17151
- dev-5.x-namespaced-functions
- dev-5.x-paginator-has-next
- dev-4.next
- dev-5.x-decorator-class
- dev-validate-array-types
- dev-error-renderer-aggregate
- dev-4.x-validation-rule
This package is auto-updated.
Last update: 2023-06-09 12:46:53 UTC
README
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:
- Copy
phpunit.xml.dist
tophpunit.xml
. - Add the relevant database credentials to your
phpunit.xml
if you want to run tests against a non-SQLite datasource. - Run
phpunit
.
Some Handy Links
- 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
- CONTRIBUTING.md - Quick pointers for contributing to the CakePHP project.
- CookBook "Contributing" Section - Details about contributing to the project.
Security
If you’ve found a security issue in CakePHP, please use the procedure described in SECURITY.md.