A
A
Arman2016-12-21 15:50:46
git
Arman, 2016-12-21 15:50:46

How to install latest version (master) of Yii2 package via composer?

Good evening.
Install Yii2 from scratch, found a glitch in Gii, somehow fixed it, thought to throw it away, but the glitch was already fixed in the wizard.
All by default
1. composer.json

"require-dev": {
        "yiisoft/yii2-debug": "~2.0.0",
--->    "yiisoft/yii2-gii": "~2.0.0", <----
        "yiisoft/yii2-faker": "~2.0.0",

        "codeception/base": "^2.2.3",
        "codeception/verify": "~0.3.1",
        "codeception/specify": "~0.4.3"
    },

For what
- Installing bower-asset/typeahead.js (v0.11.1)         
    Loading from cache

  - Installing phpspec/php-diff (v1.1.0)
    Loading from cache

  - Installing yiisoft/yii2-gii (2.0.5)
    Loading from cache

And this is 2.0.5 , and I need a master

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Slava Vitrenko, 2016-12-24
@Arik

If you still need to depend on unstable code, in composer.json find the line:
and replace stable with dev.
There is also a command "composer clear-cache"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question