Я создаю виджет, который находится в разработке. Проблема заключается в том, что, когда я бегу:Композитор: не найдено соответствующего пакета
composer require chofoteddy/yii2-bootstrap-wizard "*"
Я получаю следующее сообщение:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for chofoteddy/yii2-bootstrap-wizard * -> satisfiable by chofoteddy/yii2-bootstrap-wizard[dev-master].
- chofoteddy/yii2-bootstrap-wizard dev-master requires vinceg/twitter-bootstrap-wizard * -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
То, что я ищу, чтобы добавить https://github.com/VinceG/twitter-bootstrap-wizard.git репозиторий в качестве зависимости моего проекта. «VinceG/twitter-bootstrap-wizard» не зарегистрирован в «Packagist».
Я изменил много раз мой файл composer.json, чтобы исправить его, но я не могу заставить его работать.
Мой файл composer.json: информация
{
"name": "chofoteddy/yii2-bootstrap-wizard",
"description": "Wizard form based on twitter bootstrap plugin (@VinceG)",
"homepage": "https://github.com/Chofoteddy/yii2-bootstrap-wizard",
"keywords": [
"yii2",
"wizard",
"bootstrap",
"yii2-extension"
],
"type": "yii2-extension",
"version": "0.1",
"license": "MIT",
"authors": [
{
"name": "Christopher",
"email": "[email protected]"
}
],
"minimum-stability": "dev",
"require": {
"php": ">=5.4.0",
"VinceG/twitter-bootstrap-wizard": "*"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/VinceG/twitter-bootstrap-wizard"
}
],
"autoload": {
"psr-4": {
"chofoteddy\\wizard\\": ""
}
}
}
Композитор:
sudo composer self-update
You are already using composer version b2173d28fc8b56236eddc8aa10dcda61471633ec.
Пожалуйста обеспечивают [Minimal, Проверяемость, Полный пример] (http://stackoverflow.com/help/mcve). Проводка вашего репозитория - это не способ сделать это. Удачи! –
Спасибо Рик, я изменил содержание, чтобы добавить дополнительную информацию – Chofoteddy