【问题标题】:What is the mean of zendframework suggests installingzendframework 建议安装是什么意思
【发布时间】:2015-10-07 19:12:09
【问题描述】:

我从this link 安装 Zend Skeleton 应用程序,然后通过 Composer 安装。作曲家通知:

zendframework/zendframework suggests installing ext-intl (ext/intl for i18n features (included in default builds of PHP))
zendframework/zendframework suggests installing doctrine/annotations (Doctrine Annotations >=1.0 for annotation features)
zendframework/zendframework suggests installing ircmaxell/random-lib (Fallback random byte generator for Zend\Math\Rand if OpenSSL/Mcrypt extensions are unavail
able)
zendframework/zendframework suggests installing ocramius/proxy-manager (ProxyManager to handle lazy initialization of services)
zendframework/zendframework suggests installing zendframework/zendpdf (ZendPdf for creating PDF representations of barcodes)
zendframework/zendframework suggests installing zendframework/zendservice-recaptcha (ZendService\ReCaptcha for rendering ReCaptchas in Zend\Captcha and/or Zend\Form)

请为我解释上述通知(上面写着suggests installing)。谢谢!

【问题讨论】:

    标签: php zend-framework zend-framework2 composer-php dependency-management


    【解决方案1】:

    如果您想使用一些可选功能,您还必须安装这些软件包之一。

    这是对其他可能有用但不一定需要的软件包的某种广告。

    请注意,在 Zend Framework 2 中,即使使用了 Composer,如果您不使用 zendframework/zendframework 主包,某些包确实需要安装这些建议 - 开发人员正在对包进行更好的模块化。

    【讨论】:

    • 你能帮我一些 JSON 行来安装建议的依赖项吗:ext-intldoctrine/annotationsircmaxell/random-libocramius/proxy-managerzendframework/zendpdfzendframework/zendservice-recaptcha
    • ext-intl 是一个 PHP 扩展 - 这不能与 Composer 一起安装,但需要在 php.ini 文件中激活,或者如果不存在则安装它。其余的是 Composer 包,如果您决定需要它们:命令行上的composer require thepackage/name 会安装它们。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-12-12
    • 2015-08-17
    • 2021-12-10
    相关资源
    最近更新 更多