I recently started to work with yii, where can i find the yii version of my yii app?
The latest version 1.1. 23 was released in December 2020. In May 2011 the developers decided to use new PHP versions and fix architectural shortcomings, resulting in version 2.0. In May 2013 the Yii 2.0 code went public, followed by the first stable release in October 2014.
There are two ways to install Yii: by using Composer or by downloading an application template. We highly recommend you to use Composer. If you do not have Composer installed yet, you may install it following the instructions on the Composer website.
You can use getVersion()
of YiiBase
Yii::getVersion();
In Linux, run ./yii in the base directory. In Windows, run yii.bat
. You will get something like:
./yii This is Yii version 2.0.3. The following commands are available: [...]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With