Yii dont update


I’m trying to update Yii to 2.0.12 but dont work

When I run this console line:

php composer.phar update yiisoft/yii2 yiisoft/yii2-composer bower-asset/jquery.inputmask

I receive this result:


Loading composer repositories with package information

Updating dependencies (including require-dev)

Nothing to install or update

Generating autoload files


But when run ./yii I receive:

This is Yii version

In my composer.json the require is ok:

"require": {

        "php": ">=5.4.0",

        "yiisoft/yii2": ">=2.0.7",

        "yiisoft/yii2-bootstrap": "~2.0.0",

        "yiisoft/yii2-swiftmailer": "~2.0.0"


How can I fiz it?

Try other version


or directly ‘2.0.12’