ayman / quick_cake
此包已被废弃,不再维护。未建议替换包。
CakePHP 基本CMS应用
v1.0-beta.1
2015-05-11 23:10 UTC
Requires
- php: >=5.4.16
- cakephp/cakephp: ~3.0
- cakephp/migrations: ~1.0
- cakephp/plugin-installer: *
- davidyell/proffer: dev-master
- friendsofcake/bootstrap-ui: ~0.3
- friendsofcake/crud: ~4.0
- mobiledetect/mobiledetectlib: 2.*
Requires (Dev)
- cakephp/bake: ~1.0
- cakephp/debug_kit: ~3.0
- psy/psysh: @stable
Suggests
- cakephp/cakephp-codesniffer: Allows to check the code against the coding standards used in CakePHP.
- phpunit/phpunit: Allows automated tests to be run without system-wide install.
This package is not auto-updated.
Last update: 2024-06-26 08:34:54 UTC
README
QuickCake: CakePHP 应用快速入门。
一个用于使用 CakePHP 3.0 创建应用的工程。可以作为基本的CMS使用,易于定制。
包含插件
- Bootstrap UI:在 CakePHP 3 中无缝使用 Twitter Bootstrap 3。
- CRUD:为 CakePHP 应用开发提供动力 - 快速原型设计/脚手架 & 生产就绪代码 - JSON API 等。
- Proffer:用于 CakePHP 3 的上传插件。
表格
- 分类表(支持图片)。
- 内容表(支持图片)。
安装
-
下载 Composer 或更新
composer self-update
。 -
运行
php composer.phar create-project --prefer-dist ayman/quick_cake [app_name]
。如果Composer已全局安装,则运行
composer create-project --prefer-dist ayman/quick_cake [app_name]
服务器
`$ "bin/cake" server -p 5000`
使用来自 BootstrapUI
插件的 bake 模板进行代码生成
例如:bookmarks
表
$ "bin/cake" bake all bookmarks -t BootstrapUI