安装奏鸣曲电子商务包
Installing sonata ecommerce bundle
我需要在我的项目中使用 sonata 电子商务功能,但到目前为止我没有任何成功。似乎没有与我当前设置兼容的版本。
这是我的作曲家文件
"require": {
"php": ">=5.3",
"ext-soap": "*",
"ext-gd": "*",
"symfony/symfony": "2.8.*",
"doctrine/orm": "^2.4.8",
"doctrine/doctrine-bundle": "~1.4",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~5.0",
"sensio/framework-extra-bundle": "^3.0.2",
"incenteev/composer-parameter-handler": "~2.0",
"knplabs/knp-last-tweets-bundle": "*",
"friendsofsymfony/rest-bundle":"^1.8",
"twig/extensions":"1.2",
"friendsofsymfony/oauth-server-bundle": "dev-master",
"hwi/oauth-bundle": "^0.4.2",
"sonata-project/admin-bundle": "2.x.dev",
"sonata-project/doctrine-orm-admin-bundle": "2.x.dev",
"sonata-project/media-bundle": "~2.3",
"sonata-project/classification-bundle": "2.x-dev",
"sonata-project/user-bundle": "2.x.dev",
"sonata-project/block-bundle": "2.2.*"
},
当我 运行 composer require sonata-project/ecommerce-bundle
composer 找不到适合我当前设置的版本时。
我收到的错误消息是
Problem 1
- Installation request for sonata-project/ecommerce ^2.0 -> satisfiable by sonata-project/ecommerce[2.0.0].
- sonata-project/ecommerce 2.0.0 requires sonata-project/block-bundle ^3.0 -> satisfiable by sonata-project/block-bundle[3.0.0, 3.0.1, 3.1.0, 3.1.1, 3.x-dev] but these conflict with your requirements or minimum-stability.
请帮忙。我有超过 3 天的时间来尝试让它工作。
合并此 PR 后将修复一些问题:https://github.com/sonata-project/sandbox/pull/583
所以请稍等几天,或者修补一些代码 ;)
我需要在我的项目中使用 sonata 电子商务功能,但到目前为止我没有任何成功。似乎没有与我当前设置兼容的版本。 这是我的作曲家文件
"require": {
"php": ">=5.3",
"ext-soap": "*",
"ext-gd": "*",
"symfony/symfony": "2.8.*",
"doctrine/orm": "^2.4.8",
"doctrine/doctrine-bundle": "~1.4",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~5.0",
"sensio/framework-extra-bundle": "^3.0.2",
"incenteev/composer-parameter-handler": "~2.0",
"knplabs/knp-last-tweets-bundle": "*",
"friendsofsymfony/rest-bundle":"^1.8",
"twig/extensions":"1.2",
"friendsofsymfony/oauth-server-bundle": "dev-master",
"hwi/oauth-bundle": "^0.4.2",
"sonata-project/admin-bundle": "2.x.dev",
"sonata-project/doctrine-orm-admin-bundle": "2.x.dev",
"sonata-project/media-bundle": "~2.3",
"sonata-project/classification-bundle": "2.x-dev",
"sonata-project/user-bundle": "2.x.dev",
"sonata-project/block-bundle": "2.2.*"
},
当我 运行 composer require sonata-project/ecommerce-bundle
composer 找不到适合我当前设置的版本时。
我收到的错误消息是
Problem 1
- Installation request for sonata-project/ecommerce ^2.0 -> satisfiable by sonata-project/ecommerce[2.0.0].
- sonata-project/ecommerce 2.0.0 requires sonata-project/block-bundle ^3.0 -> satisfiable by sonata-project/block-bundle[3.0.0, 3.0.1, 3.1.0, 3.1.1, 3.x-dev] but these conflict with your requirements or minimum-stability.
请帮忙。我有超过 3 天的时间来尝试让它工作。
合并此 PR 后将修复一些问题:https://github.com/sonata-project/sandbox/pull/583
所以请稍等几天,或者修补一些代码 ;)