rohitdebut / app
rohit自定义CakePHP骨架应用
3.6.2
2018-05-30 13:56 UTC
Requires
- php: >=5.6
- cakephp/cakephp: 3.6.*
- cakephp/migrations: ^1.8.0
- cakephp/plugin-installer: ^1.0
- josegonzalez/dotenv: 3.*
- mobiledetect/mobiledetectlib: 2.*
Requires (Dev)
- cakephp/bake: ^1.1
- cakephp/cakephp-codesniffer: ^3.0
- cakephp/debug_kit: ^3.15.0
- 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.
- phpunit/phpunit: Allows automated tests to be run without system-wide install.
- dev-master
- 4.x-dev
- 3.6.2
- 3.6.1
- 3.6.0
- 3.5.1
- 3.5.0
- 3.5.0-RC1
- 3.4.2
- 3.4.1
- 3.4.0
- 3.3.6
- 3.3.5
- 3.3.4
- 3.3.3
- 3.3.2
- 3.3.1
- 3.3.0
- 3.3.0-beta2
- 3.3.0-beta
- 3.2.6
- 3.2.5
- 3.2.4
- 3.2.3
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.2
- 3.1.1
- 3.1.0
- 3.1.0-beta
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 3.0.0-RC2
- 3.0.0-RC1
- 3.0.0-beta3
- 3.0.0-beta2
- 3.0.0-beta1
- 3.0.0-alpha2
- 3.0.0-alpha1
- dev-3.next
- dev-master-license-removal
This package is not auto-updated.
Last update: 2024-09-22 12:09:55 UTC
README
用于创建 CakePHP 3.x 应用的骨架。
框架源代码可以在以下位置找到: cakephp/cakephp.
安装
- 下载 Composer 或更新
composer self-update
. - 运行
php composer.phar create-project --prefer-dist cakephp/app [应用名]
.
如果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 框架的一个子集。但是,您也可以将其替换为任何其他库或自定义样式。