Issue
I am just starting to learn about Composer, the PHP package manager. What are the differences between installing a dependency between these three commands?
composer require doctrine/dbal
composer require doctrine/dbal:2.*
composer require doctrine/dbal:2.0.0
Solution
You will find the detailed answer here: https://getcomposer.org/doc/articles/versions.md
The first will try install any version of doctrine/dbal package.
Second will try install one of the versions 2.
Third will try install version 2.0.0
Answered By - Arek Kostrzeba
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.