手动安装 cakephp 3,无需作曲家

我需要以老式的上传-解压缩-运行方式安装 CakePHP 3.

我从 cakephp/cakephp/tags 下载的存档不包含默认文件夹如webrootModel等,表示不完整.

官方文档 并未涵盖此内容.这是我发现的一个相关的 Github 问题,但该人最终仍在使用 Composer.>

还有 cakephp/app 并且它似乎包含了那些丢失的文件,但在 cakephp/cakephp 的 composer.json,即使我下载了它,我也不知道如何合并这些包.

请帮忙

解决方案

打包应用 (cakephp/app) 发布,包括所有依赖项(框架 (cakephp/cakephp)、标准 CakePHP 插件(cakephp/debugkitcakephp/bake 等)、所需的第三方库)可以在 GitHub 上找到.

https://github.com/cakephp/cakephp/releases强>

是带有小包符号的下载,命名为cake-3-x-x.zip.

然而,放弃依赖管理器并不是一个好主意,因为保持代码库和自动加载器最新会相当乏味,而且,无意冒犯,我怀疑你是否能够如果您甚至不知道如何将应用程序和蛋糕包拼接在一起,请正确处理此问题.

I need to install CakePHP 3 in an old-fashioned upload-unzip-run way.

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.

The official documentation does not cover this. Here's a relevant Github issue I found, but the person ends up still using Composer.

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.

Please help

解决方案

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

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.

相关文章