syuui / ms3
V1.0.3
2020-10-05 18:48 UTC
Requires
- php: >=5.6
- backstageel/cakephp-gentelella-theme: ^1.2
- cakephp/cakephp: 3.8.*
- cakephp/migrations: ^2.0.0
- cakephp/plugin-installer: ^1.0
- mobiledetect/mobiledetectlib: 2.*
- mpdf/mpdf: ^8.0
Requires (Dev)
- cakephp/bake: ^1.9.0
- cakephp/cakephp-codesniffer: ^3.0
- cakephp/debug_kit: ^3.17.0
- josegonzalez/dotenv: 3.*
- phpunit/phpunit: ^5|^6
- psy/psysh: @stable
Suggests
- dereuromark/cakephp-ide-helper: After baking your code, this keeps your annotations in sync with the code evolving from there on for maximum IDE and PHPStan compatibility.
- markstory/asset_compress: An asset compression plugin which provides file concatenation and a flexible filter system for preprocessing and minification.
This package is not auto-updated.
Last update: 2021-12-28 20:55:32 UTC
README
用于创建 CakePHP 3.x 应用的骨架。
框架源代码可在以下位置找到: cakephp/cakephp。
安装
- 下载 Composer 或更新
composer self-update。 - 运行
php composer.phar create-project --prefer-dist cakephp/app [app_name]。
如果Composer已全局安装,运行
composer create-project --prefer-dist cakephp/app
如果您想使用自定义的应用目录名称(例如 /myapp/)
composer create-project --prefer-dist cakephp/app myapp
现在您可以使用机器的web服务器查看默认主页,或者使用以下命令启动内置的web服务器
bin/cake server -p 8765
然后访问 https://:8765 以查看欢迎页。
更新
由于此骨架是您应用程序的起点,并且各种文件已经根据您的需求进行了修改,因此无法提供自动升级,所以您必须手动进行任何更新。
配置
阅读并编辑 config/app.php 并设置 'Datasources' 以及与您的应用程序相关的任何其他配置。
布局
应用骨架默认使用 Foundation(v5)CSS 框架的子集。但是,您也可以将其替换为任何其他库或自定义样式。