composer.json 中 "hisune/echarts-php": "^1.0" 里面的^ 含义

查看:240
本文介绍了composer.json 中 "hisune/echarts-php": "^1.0" 里面的^ 含义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

composer.json 中 "hisune/echarts-php": "^1.0" 含义,以及里面的^ 含义

解决方案

Caret

The ^ operator behaves very similarly but it sticks closer to semantic versioning, and will always allow non-breaking updates. For example ^1.2.3 is equivalent to >=1.2.3 <2.0.0 as none of the releases until 2.0 should break backwards compatibility. For pre-1.0 versions it also acts with safety in mind and treats ^0.3 as >=0.3.0 <0.4.0.

This is the recommended operator for maximum interoperability when writing library code.

Example: ^1.2.3

这篇关于composer.json 中 &quot;hisune/echarts-php&quot;: &quot;^1.0&quot; 里面的^ 含义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆