私は、guzzhttpが必要なコンポーザーを使ってインストールしたパッケージを持っています。その要件では、コンポーザーは6.2.1をインストールすることを選択しました。Composerがrequireへの依存関係をダウングレードできるようにしますか?
現在、明示的に6.1.1が必要な依存関係を要求しようとしています。
私は次のエラーを取得する: Problem 1 - Can only install one of: guzzlehttp/guzzle[6.1.1, 6.2.1]. - Can only install one of: guzzlehttp/guzzle[6.2.1, 6.1.1]. - Can only install one of: guzzlehttp/guzzle[6.1.1, 6.2.1]. - chargely/chargify-sdk-php v0.1.1 requires guzzlehttp/guzzle 6.1.1 -> satisfiable by guzzlehttp/guzzle[6.1.1]. - Installation request for chargely/chargify-sdk-php ^0.1.1 -> satisfiable by chargely/chargify-sdk-php[v0.1.1]. - Installation request for guzzlehttp/guzzle (locked at 6.2.1) -> satisfiable by guzzlehttp/guzzle[6.2.1].
また、composer why
はがつがつ食うだけそのバージョンがあるため、私の>=6.0
要件の存在であることが確認されました。
理論的には、初期要件は、グレードの格下げされたバージョンを使用しても問題ありません。作曲家にはどうしたらいいですか?
あなたの 'composer.json'はどうなっていますか? –