dongzhuo1930
2017-07-31 06:37
浏览 135
已采纳

如何使用composer安装Zend Framework 2.4.13?

I am Ruby on Rails developer.
In it for a particular Ruby version their is a rails version to suit it.

But now I am using Zend Framework 2 requires PHP 5.6 or later which is fine.
Now it has a composer and it has its own versions. I have tried to download zend framework 2 according to documention at https://framework.zend.com/manual/2.4/en/user-guide/skeleton-application.html I always end up with Zend framework 3.

Also Try to download sketon app from archive at https://framework.zend.com/downloads/archives But they do not have any public folder in them. But actualy I want zend framework 2.4.13 do not know to get it done. Please help.

The command: composer create-project -n -sdev zendframework/skeleton-application path/to/install always create a ZendFramework 3 app is their is a command to create a project of zendfrmaework 2.

I have php 5.6 install with composer 1.4.2

Please provide the tutorial link which is start teaching from ground zero/beginning.

图片转代码服务由CSDN问答提供 功能建议

我是Ruby on Rails开发人员。
对于特定的Ruby版本,他们是一个rails版本到 适合它。

但是现在我正在使用Zend Framework 2需要 PHP 5.6 或更高版本,这很好。
它有一个作曲家,它有自己的 版本。 我曾尝试根据上的文档下载zend框架2 https://framework.zend.com/manual/2.4/en/user-guide/skeleton-application.html 我总是以Zend框架3结束。
< p>还可以尝试从 https://framework.zend.com/downloads/archives下载存档中的sketon应用程序 但是它们中没有任何公共文件夹。 但实际上我想 zend framework 2.4.13 不知道要完成它。 请帮忙。

命令: composer create-project -n -sdev zendframework / skeleton-application path / to / install总是创建一个ZendFramework 3 app是他们的命令 创建一个zendfrmaework 2项目。

我有 php 5.6 安装 composer 1.4.2
< / p>

请提供从零开始/开始教学的教程链接。

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

3条回答 默认 最新

  • dqcj32855 2017-07-31 08:58
    已采纳

    Follow the instruction here How to install Zend Framework 2.4 and you will got 2.4.13 version.

    Just check it with:

    $ composer show -i 
    

    For begging tutorials my advice is to use latest version (ZF3).

    For old version 2.* you can find several books, just google it.

    已采纳该答案
    打赏 评论
  • dongren9739 2017-09-03 12:33

    3 Steps:

    1. git clone https://github.com/zendframework/ZendSkeletonApplication.git skeleton
    2. cd skeleton 
    3. git checkout origin/release-2.4
    
    打赏 评论
  • duanmiaosi0150 2017-12-14 10:03

    Without cloning via git command, you can install directly via composer command:

    $ composer create-project zendframework/skeleton-application path/to/install ^2.4
    

    Just put the ZF version you desired.

    打赏 评论

相关推荐 更多相似问题