• Home
  • Consulting
  • Contact
  • About us
Yii2 Developer Exchange
  • Home
  • Consulting
  • Contact
  • About us

How to know which Yii version you’re using?

/06 Tips /How to know which Yii version you’re using?
  • January 13, 2018
  • lookahead
  • 1 Comment

It’s simple to learn what version you’re using. Just place this code in any controller action or at the top of in app/web/index.php:

echo Yii::getVersion();
exit;

Support this site, share this page:Share on twitter

Twitter

Share on reddit

Reddit

Share on linkedin

Linkedin

Share on facebook

Facebook

Share on email

Email

Tagged:which versionyii version

Related Articles

  • Github: How to revert multiple commits

  • Tip on Passing Variable to Raw Custom Grid View Row

  • Yii2 Active Record Hidden Active Form Field or How to Hide an Active Form Field

  • Build comma separated string with conjunction

  • Yii2 Gridview Filtering with Tabs

  • Viewing the Native SQL Generated by Yii Queries

learn yii2 the meeting planner startup tutorials

Recent Posts

  • Running Both WordPress and Yii2
  • Github: How to revert multiple commits
  • Tip on Passing Variable to Raw Custom Grid View Row
  • Yii2 Active Record Hidden Active Form Field or How to Hide an Active Form Field
  • Build comma separated string with conjunction
Sign Up With Digital Ocean - Fast SSD Hosting

Archives

  • April 2018
  • February 2018
  • January 2018
  • October 2017
  • September 2017
  • August 2017
  • May 2017
  • October 2016
  • May 2016
  • April 2016
  • February 2015
  • January 2015

Categories

  • 01 Getting Started
  • 02 Documentation
  • 03 Tutorials
  • 04 Community
  • 05 News
  • 06 Tips
  • 07 Extensions
  • 08 Applications
  • 09 Books
  • 10 Utilities
Web Hosting

Partner Sites

  • Meeting Planner
  • Politics of Possibility
  • Lookahead Consulting
  • Ubunturs
  • Publishing WordPress
  • Breakup Lessons
  • Home
  • Consulting
  • Contact
  • About us
Follow @Yii2x / © Copyright, Lookahead Consulting