简体   繁体   English

PHP 7 Zend Framework 2获得Zend Framework版本

[英]PHP 7 Zend Framework 2 Getting the Zend Framework Version

Please help with the right documentation for PHP Zend Framework 2. There are two documentations as in the following URLs: 请提供有关PHP Zend Framework 2的正确文档的帮助。有以下URL中的两个文档:

https://framework.zend.com/manual/2.4/en/user-guide/modules.html https://framework.zend.com/manual/2.4/en/user-guide/modules.html

https://docs.zendframework.com/tutorials/getting-started/modules/ https://docs.zendframework.com/tutorials/getting-started/modules/

There are discrepancies viz. 有差异,即。

Docs: 文档:

"autoload": {
    "psr-4": {
        "Application\\": "module/Application/src/",
        "Album\\": "module/Album/src/"
    }
},

zf-tutorial/
    /module
        /Album
            /config
            /src
                /Controller
                /Form
                /Model
            /view
                /album
                    /album

Manual: 手册:

"autoload": {
     "psr-0": { "Album": "module/Album/src/" }
},

zf2-tutorial/
    /module
        /Album
            /config
            /src
                /Album
                    /Controller
                    /Form
                    /Model
            /view
                 /album
                    /album

Which doc especially the code is the suitable for PHP 7 and Zend Framework 2? 哪个文档尤其是代码适合PHP 7和Zend Framework 2?

Thanks 谢谢

http://docs.zendframework.com链接将始终保存最新版本的文档,即Zend Framework3。如果您特别想要ZF2,请使用第一个URL(用于ZF2.4)(您可以查看该版本)。网址中的数字)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM