jdmaymeow / code-advent
该包已废弃,不再维护。未建议替代包。
CodeAdvent 2016 CakePHP 3.x 框架骨架应用
dev-master
2016-12-15 08:08 UTC
Requires
- php: >=5.5.9
- cakephp/cakephp: 3.3.*
- cakephp/migrations: ~1.0
- cakephp/plugin-installer: *
- mobiledetect/mobiledetectlib: 2.*
Requires (Dev)
- cakephp/bake: ~1.1
- cakephp/debug_kit: ~3.2
- psy/psysh: @stable
Suggests
- cakephp/cakephp-codesniffer: Allows to check the code against the coding standards used in CakePHP.
- markstory/asset_compress: An asset compression plugin which provides file concatenation and a flexible filter system for preprocessing and minification.
- phpunit/phpunit: Allows automated tests to be run without system-wide install.
This package is not auto-updated.
Last update: 2021-11-11 17:13:49 UTC
README
CakePHP 3.x 创建应用的骨架。
框架源代码可在此处找到: cakephp/cakephp.
这是更新后的 cakephp 骨架应用,使 ca 插件的设置过程更加简单。
安装
- 下载 Composer 或更新
composer self-update
. - 运行
php composer.phar create-project --prefer-dist jdmaymeow/code-advent [app_name]
.
如果 Composer 已全局安装,请运行
composer create-project --prefer-dist jdmaymeow/code-advent [app_name]
现在你应该可以访问你安装应用的路径并看到默认的主页。
配置
阅读并编辑 config/app.php
并设置应用程序相关的 '数据源' 和其他配置。
Code Advent 配置文件
Code Advent (CA) 插件将使用此文件来读取一些配置。您可以在 config/codeadvent.json
中编辑此文件。