Answer the question
In order to leave comments, you need to log in
What is wrong with my composer package?
I'm trying to create my own addition, here it is , then I try to save it according to instruction c omposer require sirgalas/yii2-edit-translation
, it gives such an error
[InvalidArgumentException]
Could not find package sirgalas/yii2-edit-translation at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability
php composer.phar require "sirgalas/yii2-edit-translation":"*"
getYour requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package sirgalas/yii2-edit-translation * is satisfiable by sirgalas/yii2-edit-translation[dev-master] but these conflict with your requirements or minimum-stability.
php composer.phar require "sirgalas/yii2-edit-translation":"@dev"
Problem 1
- Installation request for sirgalas/yii2-edit-translation Dev -> satisfiable by sirgalas/yii2-edit-translation[dev-master].
- sirgalas/yii2-edit-translation dev-master requires zelenin/yii2-i18n-module dev-master -> satisfiable by zelenin/yii2-i18n-module[dev-master] but these conflict with your requirements or minimum-stability.
Answer the question
In order to leave comments, you need to log in
There are two options:
1. Specify in composer.json that the composer will load "unstable" versions. By default, the composer runs in stable mode and only downloads stable versions.
2. Tag the commit (using semver 0.0.1 notation) and push it, this will be the first stable version of the package.
You can read more here, comments too: codinghamster.info/php/stability-paketov-v-compose..."minimum-stability": "dev"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question