communitycart / openmarketplace
CakePHP 框架应用程序骨架
dev-master
2018-01-19 06:40 UTC
Requires
- php: >=5.6
- almasaeed2010/adminlte: ^2.4
- cakedc/users: 6.0.0
- cakephp/cakephp: 3.5.*
- cakephp/migrations: ^1.0
- cakephp/plugin-installer: ^1.0
- cebe/markdown: dev-master
- communitycart/bitcoin-wallet-api: dev-master
- hashmode/cakephp-captcha: ~1.0
- josegonzalez/dotenv: 2.*
- maiconpinto/cakephp-adminlte-theme: ^1.0
- mobiledetect/mobiledetectlib: 2.*
- muffin/slug: ^1.2
Requires (Dev)
- cakephp/bake: ^1.1
- cakephp/cakephp-codesniffer: ^3.0
- cakephp/debug_kit: ^3.2
- psy/psysh: @stable
Suggests
- cakephp/cakephp-codesniffer: Allows to check the code against the coding standards used in CakePHP.
- 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.
This package is not auto-updated.
Last update: 2024-09-29 03:41:47 UTC
README
创建 CakePHP 3.x 应用的骨架。请访问 CakePHP 网站。
框架源代码可在以下位置找到: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 框架的子集。但是,您可以替换为任何其他库或自定义样式。