当你须要从VCS(Version Control System)中加载一个库时,则须要在你的自定义分支名前面加一个"dev-"的前缀
版本前面的波浪号表示什么意思?好比~2.1
it means >=2.1 <3.0
很重要,如何使用composer的帮助命令?
composer help + 命令 (composer help update)
require和require-dev的区别是什么?
The require-dev packages are packages that aren't necessary for your project to work and shouldn't be included in the production version of your project.Typically, these are packages such as phpunit/phpunit that you would use for unit testing your project.