installing cakephp 3 manually, without composer(手动安装 cakephp 3,没有作曲家)
问题描述
我需要以老式的 upload-unzip-run 方式安装 CakePHP 3.
I need to install CakePHP 3 in an old-fashioned upload-unzip-run way.
我从 cakephp/cakephp/tags 下载的存档不包含默认文件夹如webroot、
Model
等,表示不完整.
The archive I've downloaded from cakephp/cakephp/tags does not contain the default folders like webroot
, Model
etc., which means it's not complete.
官方文档没有涉及到这一点.这是一个相关的 Github 问题我发现了,但这个人最终仍在使用 Composer.
The official documentation does not cover this. Here's a relevant Github issue I found, but the person ends up still using Composer.
还有cakephp/app 好像也包含了那些丢失的文件,但是<中没有提到code>cakephp/cakephp的composer.json,即使我下载了也不知道怎么合并包.
There's also cakephp/app and it seems to include those missing files, but it's not mentioned in cakephp/cakephp
's composer.json, and even if I download it I've no idea how to merge the packages.
请帮忙
推荐答案
包含所有依赖项的打包应用 (cakephp/app
) 版本(框架 (cakephp/cakephp
),标准 CakePHP 插件(cakephp/debugkit
、cakephp/bake
等,所需的第三方库)可以在 GitHub 上找到.
Packaged app (cakephp/app
) releases that include all dependencies (framework (cakephp/cakephp
), standard CakePHP plugins (cakephp/debugkit
, cakephp/bake
, etc), required third party libraries) can be found on GitHub.
https://github.com/cakephp/cakephp/releases强>
它是带有小包符号的下载,命名为cake-3-x-x.zip
.
It's the download with the small package symbol, named like cake-3-x-x.zip
.
但是,放弃依赖管理器并不是一个好主意,因为保持代码库和自动加载器是最新的会相当乏味,而且,无意冒犯,我怀疑你是否能够如果您甚至不知道如何将应用程序和蛋糕包拼接在一起,请妥善处理.
However, it isn't a good idea to ditch the dependency manager, as keeping the code base and the autoloader up to date will be rather tedious, and, no offense, I have my doubts that you'll be able to handle this properly if you don't even know how to stitch the app and cake packages together.
这篇关于手动安装 cakephp 3,没有作曲家的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:手动安装 cakephp 3,没有作曲家
基础教程推荐
- 在 Woocommerce 中根据运输方式和付款方式添加费用 2021-01-01
- mysqli_insert_id 是否有可能在高流量应用程序中返回 2021-01-01
- 通过 PHP SoapClient 请求发送原始 XML 2021-01-01
- Libpuzzle 索引数百万张图片? 2022-01-01
- 在多维数组中查找最大值 2021-01-01
- 超薄框架REST服务两次获得输出 2022-01-01
- WooCommerce 中选定产品类别的自定义产品价格后缀 2021-01-01
- XAMPP 服务器不加载 CSS 文件 2022-01-01
- 在 PHP 中强制下载文件 - 在 Joomla 框架内 2022-01-01
- 如何在 PHP 中的请求之间持久化对象 2022-01-01