burbubots / cakebots
CakePHP 区块链分析
1.0.0
2021-10-29 12:39 UTC
Requires
- php: >=7.2
- cakephp/cakephp: ^4.3
- cakephp/migrations: ^3.2
- cakephp/plugin-installer: ^1.3
- codenix-sv/coingecko-api: ^1.0
- icecoder/icecoder: *
- mobiledetect/mobiledetectlib: ^2.8
Requires (Dev)
- cakephp/bake: ^2.6
- cakephp/cakephp-codesniffer: ^4.5
- cakephp/debug_kit: ^4.5
- cakephp/repl: ^0.1
- josegonzalez/dotenv: ^3.2
- phpunit/phpunit: ~8.5.0 || ^9.3
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/Psalm compatibility.
- markstory/asset_compress: An asset compression plugin which provides file concatenation and a flexible filter system for preprocessing and minification.
- phpstan/phpstan: PHPStan focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code.
This package is auto-updated.
Last update: 2024-09-29 05:29:23 UTC
README
使用 CakePHP 4.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_local.php 并设置 'Datasources' 和任何其他与您的应用程序相关的配置。其他环境无关设置可以在 config/app.php 中更改。
布局
应用骨架默认使用 Milligram(v1.3)极简 CSS 框架。但是,您可以将其替换为任何其他库或自定义样式。