Answer the question
In order to leave comments, you need to log in
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"
},
- 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
Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question