We are going to deploy the new yiiframework.com website on March 23, 2018 from 8:00 to 12:00 UTC.
Website and Yii documentation will not be available in this time frame. Check the news for more details.

The Fast, Secure and Professional PHP Framework

Yii is a high-performance PHP framework best for developing Web 2.0 applications.

Yii comes with rich features: MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, scaffolding, testing, etc. It can reduce your development time significantly.

Three steps to build your application rapidly:

  1. You create the database;
  2. Yii generates the base PHP code;
  3. You customize the code to fit your exact needs.
Or dive directly into Yii with
screencasts or guide
2.0.13 released on Nov 3, 2017
1.1.19 released on June 8, 2017


Yii only loads the features that you need. It has powerful caching support. It is explicitly designed to work efficiently with AJAX.


Security comes as standard with Yii. It includes input validation, output filtering, SQL injection and Cross-site scripting prevention.


Yii helps you develop clean and reusable code. It follows the MVC pattern, ensuring a clear separation of logic and presentation.

Latest News

Mar 22, 2018
We are very happy to announce that the new yiiframework.com website is finally ready for deployment.
Mar 20, 2018
Today we are releasing several versions for Yii 2.0.x and official extensions to fix a security issue.
Feb 22, 2018
We are very pleased to announce the release of Imagine extension version 2.1.1 which both fixes bugs and makes small enhancements.

Books and Videos on Yii

Mastering Yii

Mastering Yii

Author: Charles R. Portwood II
Publisher: Packt Publishing (January 2016)
Packt pays a percentage of every book sold to Yii.
Advance your modern web application development skills with Yii Framework 2
Learning Yii2

Learning Yii2 [Video]

Author: Matthew Beaumont
Publisher: Packt Publishing (October 2015)
Packt pays a percentage of every book sold to Yii.
Take your first steps into web application development with Yii 2 and get rapidly acquainted with the new and improved PHP framework
Mastering Yii2

Mastering Yii2 [Video]

Author: Vitalii Tron
Publisher: Packt Publishing (October 2015)
Packt pays a percentage of every book sold to Yii.
Leverage the incredible potential of Yii to build heavyweight web applications swiftly
Yii2 By Example

Yii2 By Example

Author: Fabrizio Caldarelli
Publisher: Packt Publishing (September 2015)
Packt pays a percentage of every book sold to Yii.
Develop complete web applications from scratch through practical examples and tips for beginners and more advanced users
Learning Yii Testing

Learning Yii Testing

Author: Matteo Pescarin
Publisher: Packt Publishing (April 2015)
Packt pays a percentage of every book sold to Yii.
Embrace 360-degree testing on your Yii 2 projects using Codeception


  • stay.com


    A great way to plan your next travel. Time Magazine ranks Stay.com as one of the 50 best websites in 2010.

    Yii Framework met all our needs! It worked equally good for both rapid prototyping and large scale web applications. It allowed us to focus on our unique idea while still offering the flexibility to bend our application in all directions we want.

    Knut Urdalen
    Co-founder and CTO of Stay.com
  • Chive Project

    Chive Project

    A next generation MySQL database management tool. Chive aims to be an alternative to phpMyAdmin.

    Yii Framework is a good choice for developing new high quality web-applications in rapid time. The well designed foundation with excellent documentation helped us developing Chives remarkable user experience and functionality in very short time.

    David Roth
    Executive at Fusonic GmbH
  • PicLyf


    A picture sharing platform.
    "Share, Enjoy & Remember Life Better"

    Yii is a simple but very powerful application framework with a very short learning curve. Its component-based design allows us to customize it for our needs without directly modifying it -- maintaining upgradability. It's amazing how we were able to use it not just on our main app and our API, but also on our daemons!

    Blue Jayson
    CTO of PicLyf