At present, the expansion of the YII2 is not much, as of today, the official website a total of 33, but these plug-ins are not lack of good extension plug-ins,
I tried a few, found a series of useful Yii2 Plug-ins, the author is from India's Krajee team, they write plug-ins are very useful. Recommend it.
Krajee team's website: http://krajee.com, there are several good plug-ins to try.
The following is an introduction to the Yii2 plug-in installation method. Install plug-in Yii2-detail-view via composer.
Git
Recommended installation Git,composer installation plugin will use git clone,git official download website: Portal
If you have not installed Git,cmd execute command you will be prompted that git is not a valid command. Then find the hard drive to download the address. It doesn't really matter if you don't install Git.
Install Git under Windows, configure the environment variable, and D:\Program files\git\bin into the PATH environment variable.
Installation method
Yii2-detail-view
Official Description:
Installation The
preferred way to install this extension is through composer.
Either run:
$ php Composer.phar require kartik-v/yii2-detail-view "*"
or add:
"Kartik-v/yii2-detail-view" : "*" to the Require section of
your Composer.json file.
This is relative to the Linux environment installation method, Windows use composer
CMD execution command: Composer require kartik-v/yii2-detail-view "*"
Installation completed, we will see the installation process, installed 5 Other plug-ins, these are and Yii2-detail-view have dependencies of Plug-ins,
This is the handy place for composer tools to automate the analysis of dependencies and help us install them perfectly.
See the "kartik-v" directory under the Webroot/appname/vendor directory. See 6 directories stored under the path. Indicates that the installation was successful.
Plug-in installation is here, as to how to use. Later in the learning process to be introduced. ^_^