angelxmoreno / docker-compose-cakephp-skeleton
带有Docker Compose文件的CakePHP 3.0应用程序模板
3.5.0
2017-08-19 01:33 UTC
Requires
- php: >=5.6
- cakephp/cakephp: 3.5.*
- cakephp/migrations: ~1.0
- cakephp/plugin-installer: ~1.0
- josegonzalez/dotenv: 2.*
- mobiledetect/mobiledetectlib: 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.
- dev-docker_integration
- 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-installer_paths
- dev-master
- dev-3.next
- dev-master-license-removal
- dev-revert-255-ajaxview
- dev-revert-244-jsonview-serialization
This package is auto-updated.
Last update: 2024-09-16 02:45:39 UTC
README
使用Docker创建 CakePHP 3.x 应用程序的骨架。
框架源代码可以在以下位置找到:cakephp/cakephp.
安装
- 使用推荐配置安装 Composer。
- 运行
composer create-project --prefer-dist angelxmoreno/cakephp-skeleton [app_name]
。
现在您可以使用机器的Web服务器查看默认主页,或者通过以下命令启动内置的Web服务器:
bin/cake server -p 8765
然后访问 https://:8765
来查看欢迎页面。
更新
与位于 cakephp/app 的原始骨架相比,有一些变化。
1. Updated README to denote the usage of Docker
2. Deleted unused directories and files
a. .github/
b. config/.env.default
3. Moved .env.default to root
4. Removed files from .gitignore ( config/app is now commitable )
5. Created App\Console\CustomInstaller to generate:
a. .env file if not found
b. Security.Salt in .env
c. App Name in .env
6. Created ENV_FILE constant
配置
阅读并编辑 config/app.php
并设置 'Datasources'
以及与您的应用程序相关的任何其他配置。
布局
应用骨架默认使用 Foundation CSS 框架的子集。然而,您也可以将其替换为任何其他库或自定义样式。