私は1年前に生産されていた安定したプロジェクトを持っていますが、アップグレードの時期が来ています。私は新しいバンドルをインストールしたいが、他のパッケージを新しいバージョンにアップデートしたくない。Symfony2コンポーザーは、他の依存関係を更新せずに新しいバンドルをインストールします
私はcomposer.phar install
の魔女はベンダーをcomposer.lock
から正しいバージョンでインストールします。ここにはすべてうまいです。
私はできませんcomposer.phar update
それはすべてのベンダーを更新する+とにかに100の依存関係エラーをスローするためです。
ただ1つの新しいベンダーがあります。
私composer.jsonは、次のようになります。
"require": {
"php": ">=5.3.9",
"symfony/symfony": "2.7.*",
"doctrine/orm": "^2.4.8",
"doctrine/doctrine-bundle": "~1.4",
"symfony/assetic-bundle": "~2.3",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~4.0",
"sensio/framework-extra-bundle": "^3.0.2",
"incenteev/composer-parameter-handler": "~2.0",
"friendsofsymfony/user-bundle": "~1.3",
"sonata-project/core-bundle": "dev-master",
"sonata-project/admin-bundle": "dev-master",
"sonata-project/doctrine-orm-admin-bundle": "dev-master",
"sonata-project/datagrid-bundle": "dev-master",
"sonata-project/classification-bundle": "dev-master",
"sonata-project/easy-extends-bundle": "dev-master",
"sonata-project/media-bundle": "dev-master",
"sonata-project/intl-bundle": "dev-master",
"sonata-project/user-bundle": "dev-master",
"sparkling/adyen-bundle": "^0.3.4",
"sylius/translation-bundle": "^0.15.0",
"sylius/shipping-bundle": "^0.15.0",
"sylius/resource-bundle": "0.15.*",
"sylius/payment-bundle": "0.15.*",
"winzou/state-machine-bundle": "^0.2.2",
"sylius/currency-bundle": "^0.15.0",
"sylius/money-bundle": "^0.15.0",
"ddeboer/data-import-bundle": "dev-master",
"eko/feedbundle": "1.2.5",
"ed/blog-bundle": "v1.0.3",
"knplabs/knp-paginator-bundle": "dev-master",
"hwi/oauth-bundle": "^0.3.9",
"facebook/php-sdk-v4": "^5.1",
"friendsofsymfony/jsrouting-bundle": "^1.6",
"knplabs/knp-snappy-bundle": "^1.3",
"oneup/uploader-bundle": "~1.3",
"suncat/mobile-detect-bundle": "^0.10.2",
"friendsofsymfony/elastica-bundle": "^3.1",
"beberlei/DoctrineExtensions": "^1.0",
"stfalcon/tinymce-bundle": "1.0"
},
リストの最後のバンドル:"stfalcon/tinymce-bundle": "1.0"
は私がインストールしたいバンドルです。私はこれを手で加えました。私がやろうとしていますバンドルを追加した後
:
php -d memory_limit=-1 composer.phar update stfalcon/tinymce-bundle --with-dependencies
これはまだエラーがスローされます。
[email protected] MINGW64 /c/wamp64/www/karpedeal (develop)
endenciesmemory_limit=-1 composer.phar update stfalcon/tinymce-bundle --with-depe
Warning: This development build of composer is over 60 days old. It is recommended to update it by running "composer.phar self-update" to get the latest version.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package sensio/distribution-bundle == 3.0.31.0 is satisfiable by sensio/distribution-bundle[v3.0.31] but those are rejected by your minimum-stability.
Problem 2
- The requested package sonata-project/intl-bundle == 2.2.3.0 is satisfiable by sonata-project/intl-bundle[2.2.3] but those are rejected by your minimum-stability.
Problem 3
- The requested package knplabs/knp-paginator-bundle == 2.5.0.0 is satisfiable by knplabs/knp-paginator-bundle[2.5.0] but those are rejected by your minimum-stability.
Problem 4
- sonata-project/user-bundle dev-master conflicts with sonata-project/intl-bundle[dev-master].
- sonata-project/intl-bundle dev-master conflicts with sonata-project/user-bundle[dev-master].
- sonata-project/intl-bundle dev-master conflicts with sonata-project/user-bundle[dev-master].
- Installation request for sonata-project/intl-bundle dev-master -> satisfiable by sonata-project/intl-bundle[dev-master].
- Installation request for sonata-project/user-bundle dev-master -> satisfiable by sonata-project/user-bundle[dev-master].
私は新しいバンドルをインストールする方法はあります他に何をすべきか...知りませんこれらの問題を起こすことなく?
PHPのcomposer.pharが必要ですstfalcon/tinymce-bundle = '1.0' –