2017-03-27 13 views
0

これは作者に聞きたいpackageです。これは私のコマンドです:作曲者が発行する必要があります

composer require kiyoh/customerreview

これは私のcomposer.jsonファイルです:

"repositories": [ 
     ....... 
     { "type": "vcs", "url": "[email protected]:hans2103/Kiyoh_Customerreview.git" } 
], 
"require": { 
    "kiyoh/customerreview": "2.1.0.11", 
    ...... 
} 

これは私がコンソールに得たもの、結果である:

[InvalidArgumentException]                                
    Could not find package kiyoh/customerreview at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability . 

任意のアイデア私は何を間違えているのですか?

答えて

1

kiyoh/customerreviewは、バージョンがありません。リポジトリにはマスターブランチのみが含まれ、タグはありません。それは作曲が

はまた、あなたのcomposer.jsonにトップレベルにを追加必要なソースとしてのマスターブランチを使用することを意味し

"require": { 
    "kiyoh/customerreview": "dev-master", 
    ...... 
} 

:あなたは置き換えることができ、それを修正するには

は、一部が必要です。

最終的にあなたのcomposer.json必見は次のようになります。

"minimum-stability": "dev", 
"repositories": [ 
     ....... 
     { "type": "vcs", "url": "[email protected]:hans2103/Kiyoh_Customerreview.git" } 
], 
"require": { 
    "kiyoh/customerreview": "dev-master", 
    ...... 
} 
関連する問題