手动安装 cakephp 3,没有作曲家 [英] installing cakephp 3 manually, without composer

查看:36
本文介绍了手动安装 cakephp 3,没有作曲家的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要以老式的 upload-unzip-run 方式安装 CakePHP 3.

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

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

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/debugkitcakephp/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,没有作曲家的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆