Good day,
My composer file looks like the following:
{
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"psr/http-message": "1.0",
"slim/slim": "^3.8.1",
"respect/validation": "^1.1",
"rszrama/negotiation-middleware": "dev-master"
}
}
Ideally, my file should look like:
{
"require": {
"slim/slim": "^3.8.1",
"respect/validation": "^1.1",
"rszrama/negotiation-middleware": "^1.0"
}
}
However, I need extra lines for several reasons. The two stability lines could be removed if this package were tested against a stable version of willdurand/negotiation (2.3.1 is the latest stable version as of right now) and then publishing this package as stable 1.0.
I need the http-message line, since this package depends upon
"psr/http-message": "1.0",
My understanding is that adding a caret would be safe, and would allow my project to install the current version 1.0.1 instead:
"psr/http-message": "^1.0",
Thank you.
Good day,
My composer file looks like the following:
Ideally, my file should look like:
However, I need extra lines for several reasons. The two stability lines could be removed if this package were tested against a stable version of willdurand/negotiation (2.3.1 is the latest stable version as of right now) and then publishing this package as stable 1.0.
I need the http-message line, since this package depends upon
My understanding is that adding a caret would be safe, and would allow my project to install the current version 1.0.1 instead:
Thank you.