CakePHP

CakePHP:PHP快速开发框架。(CakePHP: The Rapid Development Framework for PHP.)

Github stars Tracking Chart

CakePHP是一个PHP快速开发框架,使用常见的设计模式,如关联数据映射,前端控制器和MVC。 CakePHP的主要目标是提供一个结构化框架,使各级PHP用户能够快速开发强大的Web应用程序,而不会降低灵活性。CakePHP 3是一个在PHP 7上运行的Web开发框架(最小PHP 5.5.9)。

CakePHP特点:

原型更快,验证更快,不断成长。

  • 快速构建。使用代码生成和脚手架功能快速构建原型。
  • 无配置。没有复杂的XML或YAML文件。 只需设置你的数据库,你就准备好了。
  • 友好的许可证。CakePHP是根据MIT许可证授权的,这使其完美适用于商业应用。
  • 内置。你需要的东西是内置的。 翻译,数据库访问,缓存,验证,身份验证等等都内置到一个原始的PHP MVC框架中。
  • 干净的 MVC约定。CakePHP不需要规划事情的发展方向,而是提供一系列约定来指导您开发应用程序
  • 安全。CakePHP附带了用于输入验证,CSRF保护,表单篡改保护,SQL注入防护和XSS防护的内置工具,可帮助您保持应用程序的安全性。

Overview

Name With Ownercakephp/cakephp
Primary LanguagePHP
Program languagePHP (Language Count: 7)
Platform
License:MIT License
Release Count498
Last Release Name4.5.5 (Posted on 2024-04-27 22:55:59)
First Release Name1.2.0 (Posted on 2008-12-25 23:30:33)
Created At2010-05-08 14:38:22
Pushed At2024-05-04 03:46:58
Last Commit At
Stargazers Count8.7k
Watchers Count543
Fork Count3.4k
Commits Count47k
Has Issues Enabled
Issues Count6548
Issue Open Count56
Pull Requests Count8997
Pull Requests Open Count7
Pull Requests Close Count2035
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

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

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.
  • #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 you’ve found a security issue in CakePHP, please use the following procedure instead of the normal bug reporting system. Instead of using the bug tracker, mailing list or IRC please send an email to security [at] cakephp.org. Emails sent to this address go to the CakePHP core team on a private mailing list.

For each report, we try to first confirm the vulnerability. Once confirmed, the CakePHP team will take the following actions:

  • Acknowledge to the reporter that we’ve received the issue, and are working on a fix. We ask that the reporter keep the issue confidential until we announce it.
  • Get a fix/patch prepared.
  • Prepare a post describing the vulnerability, and the possible exploits.
  • Release new versions of all affected versions.
  • Prominently feature the problem in the release announcement.
To the top