B
B
bigProblem2017-09-29 08:43:24
Yii
bigProblem, 2017-09-29 08:43:24

How to properly install and update Yii2?

The question is.
At the office The site writes that after installation the version will be 2.0.12 (any of the 2 packages). After installation, the version string in composer.json is "yiisoft/yii2": "~2.0.6".
Why is this happening????
Isn't what was written (The latest version of Yii 2 is 2.0.12) a reality and will it be necessary to perform some other manipulations ??

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Fedorov, 2017-09-29
@bigProblem

After installation in composer.json, the version string is "yiisoft/yii2": "~2.0.6"

This line means that composer will INSTALL the latest version of the package prior to version 2.1. (not included). It somehow doesn't tell you the currently INSTALLED version
. If you want to see a list of currently installed packages and their versions, use the command
composer show -i

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question