Home >Development Tools >composer >About composer version stability
The following tutorial column of composer will introduce to you the version stability of composer. I hope it will be helpful to friends in need!
About composer version stability
If you do not explicitly specify the version For stability, Composer will internally specify -dev or -stable by default based on the operator used. For example:
Internal Constraint | |
---|---|
1.2.3
|
=1.2.3.0-stable
|
| >1.2.0.0-stable
|
##> =1.2.0.0-dev |
##>=1.2-stable |
|
597c4c0b4b9d3cf7949aa580e564a9b8=1.0.0.0-dev 7bda4a13322ff12d12f30c3e39734a26=1.3.0.0-dev f4cc14b7a762e252d70c4e52506083ce=1.4.0.0-dev <1.5.0.0-dev |
|
##Example : 1.0 - 2.0 If you want to specify the version as long as the stable version, you can add the suffix -stable after the version. |
{ "require": { "monolog/monolog": "1.0.*@beta", "acme/foo": "@dev" } }
The above is the detailed content of About composer version stability. For more information, please follow other related articles on the PHP Chinese website!