Answer the question
In order to leave comments, you need to log in
Why does composer not want to install a github package from my repository?
I forked the repository and someone changed something here it is
I added it to composer.json
"StasToken/mpdf": "dev-master"
},
"repositories": [
{
"type": "github",
"url": "[email protected]:StasToken/mpdf.git"
}
],
composer require StasToken/mpdf
[InvalidArgumentException]
Could not find a matching version of package StasToken/mpdf. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability
(stable).
Answer the question
In order to leave comments, you need to log in
Because in the fork the repository is still called mpdf / mpdf - this is the name and you need to specify it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question