Yii2: Update to newest version

If you installed Yii2 with composer, then update to newest version will be easy to do.

Just simply run the following command in your project’s root directory:

php composer.phar require yiisoft/yii2 2.0.5

Or, if you want to update all installed components, simply run:

php composer.phar update

To verify if your system updated, see bottom Yii debugger:

Screen Shot 2015-08-04 at 11.35.17 PM

 

Advertisements

About qianggan

Sr. Software Engineer
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s