CakePHP

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

Github星跟蹤圖

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防护的内置工具,可帮助您保持应用程序的安全性。

概覽

名稱與所有者cakephp/cakephp
主編程語言PHP
編程語言PHP (語言數: 7)
平台
許可證MIT License
發布數498
最新版本名稱4.5.5 (發布於 2024-04-27 22:55:59)
第一版名稱1.2.0 (發布於 2008-12-25 23:30:33)
創建於2010-05-08 14:38:22
推送於2024-04-28 02:56:08
最后一次提交
星數8.7k
關注者數542
派生數3.4k
提交數47k
已啟用問題?
問題數6549
打開的問題數58
拉請求數8993
打開的拉請求數8
關閉的拉請求數2035
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

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.
去到頂部