This extension provides the installer project for the Yii framework 2.0.
For instance, yii2 new blog will create a directory named blog containing a fresh yii installation with all of yii's dependencies already installed. This method of installation is much faster than installing via Composer.
First, download the yii2 installer using Composer:
composer global require "pana1990/yii2-installer=~1.0"
Make sure to place the ~/.composer/vendor/bin directory in your PATH so the yii executable can be located by your system.
Once installed, the following simple command will create a fresh yii installation in the directory you specify:
yii2 new blog
By default yii2-installer install yii2-app-basic, if you want to install yii2-app-advaced, you may use the following command:
yii2 new blog --template=advanced
yii2-installer is released under the BSD 3-Clause License. See the bundled LICENSE for details.