需要帮助清理/组织作曲家中的奏鸣曲项目依赖项



我在我的项目中使用了很棒的奏鸣曲管理包。但是几个月来,我在使用作曲家更新时遇到了依赖项问题。我需要更改版本声明,但它一直给我错误。

我看了一下奏鸣曲文档,但它对版本没有帮助。

所以我在这里问是否有人可以在作曲家文件中给我正确的配置,以使所有奏鸣曲捆绑包协同工作。

这是我的作曲家.json

    "php": ">=5.3.3",
    "symfony/symfony": "2.3.*",
    "doctrine/orm": ">=2.2.3,<2.4-dev",
    "doctrine/doctrine-bundle": "1.2.*",
    "twig/extensions": "1.0.*",
    "symfony/assetic-bundle": "2.3.*",
    "symfony/swiftmailer-bundle": "2.3.*",
    "symfony/monolog-bundle": "2.3.*",
    "sensio/distribution-bundle": "2.3.*",
    "sensio/framework-extra-bundle": "2.3.*",
    "sensio/generator-bundle": "2.3.*",
    "incenteev/composer-parameter-handler": "~2.0",
    "friendsofsymfony/user-bundle": "1.3.*",
    "sonata-project/admin-bundle": "2.2.*@dev",
    "sonata-project/block-bundle": "2.1.*@dev",
    "sonata-project/cache-bundle": "dev-master",
    "sonata-project/jquery-bundle": "1.8.*@dev",
    "sonata-project/easy-extends-bundle" : "dev-master",
    "sonata-project/intl-bundle" : "dev-master",
    "sonata-project/doctrine-orm-admin-bundle": "dev-master",
    "sonata-project/user-bundle": "dev-master",
    "sonata-project/media-bundle" : "dev-master",
    "genemu/form-bundle": "2.2.*",
    "winzou/console-bundle": "1.*",
    "knplabs/knp-menu-bundle": "~2.0@dev",
    "knplabs/knp-menu": "~2.0@dev"

我的 Symfony 版本是 2.3.8

提前谢谢。

以下是奏鸣曲束和Symfony 2.3.9的工作作曲家配置:

{
    "sonata-project/admin-bundle": "dev-master",
    "sonata-project/core-bundle": "~2.2@dev",
    "sonata-project/doctrine-orm-admin-bundle": "dev-master",
    "sonata-project/intl-bundle": "dev-master",
    "sonata-project/cache-bundle": "dev-master",
    "sonata-project/cache": "~1.0@dev",
    "sonata-project/block-bundle": "@dev",
    "sonata-project/jquery-bundle": "@dev",
    "sonata-project/doctrine-extensions": "1.0.0",
    "sonata-project/user-bundle": "dev-master",
    "sonata-project/easy-extends-bundle": "dev-master",
    "sonata-project/exporter": "1.3.*"
}

相关内容

  • 没有找到相关文章

最新更新