I have the access of a PHP Package called “name/mypackage”,
and in my local computer system there is a file called composer.json that looks like this,
{
"require": {
"name/mypackage": "dev-build"
}
}
when i run composer install
it will show me this error Problem 1 - Root composer.json requires name/mypackage dev-build, found name/mypackage[dev-main] but it does not match the constraint.
So my question is what version should i use in publicly available name/mypackage
package’s composer.json file
{
"name": "name/mypackage",
"version": "<WHAT_SHOULD_I_USE_HERE_SO_IT_WILL_DOWNLOADS_IN_MY_COMPUTER>",
"description": "PHP Package",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "sachin"
}
]
}
Thank You