Answer the question
In order to leave comments, you need to log in
Installing your own Yii2 project from github via composer?
suppose I made some application, uploaded it to github, now I want to install it myself with a command from the console (suppose): composer require "vendor/project:*"
It gives an error:
The requested package vendor/project could not be found in any version, there may be a typo in the package name.
composer require "vendor/project:1.0-dev"
"extra": {
"branch-alias": {
"daily": "1.0-dev"
}
}
Answer the question
In order to leave comments, you need to log in
To do this, you need to link the repository with Packagist , this is done in a couple of clicks. And to download certain branches, you need to make releases on them in github
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question