mohammadsaleh / spider-app
Spider 基础应用
2.1
2019-02-26 13:52 UTC
Requires
- php: >=5.6
- cakephp/cakephp: 3.7.*
- cakephp/migrations: ^2.0.0
- cakephp/plugin-installer: ^1.0
- mobiledetect/mobiledetectlib: 2.*
- mohammadsaleh/spider: dev-master
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: 2024-09-19 15:37:44 UTC
README
一个用于创建 CakePHP 3.x 应用的骨架,[链接](https://cakephp.com.cn)。
框架源代码在此处可以找到:[链接](https://github.com/cakephp/cakephp)。
安装
- 下载 [Composer](https://composer.php.ac.cn/doc/00-intro.md) 或更新
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 框架的子集。但是,您也可以用任何其他库或自定义样式替换它。