Answer the question
In order to leave comments, you need to log in
How to fix composer error when adding your repository?
Hello.
I decided to finish this widget kartik-v/yii2-widget-sidenav .
Created a fork in my repository jumper423/yii2-widget-sidenav . Made changes.
Now I'm trying to add to composer.json
{
...
"minimum-stability": "stable",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "*",
....
"jumper423/yii2- widget-sidenav": "dev-master",
....
},
...
}
$ composer update
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 jumper423/yii2-widget-sidenav could not be found in any version, there may be a typo in the package name.
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 for more details.
Read for further common problems.
Answer the question
In order to leave comments, you need to log in
The version of your package does not meet the stability requirements in the "minimum-stability": "stable" config.
Either specify "minimum-stability": "dev" - not recommended
Or create a v1.0.0 tag for your package, for example.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question