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.6 released on August 10, 2015
1.1.16 released on Dec 21, 2014


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

Nov 22, 2015
Yii 1.1 support was originally announced as "Dec 31, 2015 (may be extended further if needed)". In March we've conducted a survey and since December is close, it's time to officially announce our decision.
Nov 19, 2015
We are very glad to announce that we have a new member joining the core team. His name is Dmitry Naumenko and his GitHub ID is SilverFire. Dmitry is from Kiev, Ukraine. Despite not being long time contributor he displayed very good sense of the framework, thorough approach to development and issue discussion and great technical skills. We believe his joining the team will help us push Yii forward. Welcome!
Sep 24, 2015
We are very pleased to announce the releases of Debug, Bootstrap, Sphinx and Authclient extensions. We decided to decouple extension releases from the framework release to allow more flexibility and possible more frequent extension releases. Debug was released quite long time ago but at the time we were too busy for announcement.

Books and Videos on Yii

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
Web Application Development with Yii 2 and PHP

Web Application Development with Yii 2 and PHP

Author: Mark Safronov, Jeffrey Winesett
Publisher: Packt Publishing (September 2014)
Packt pays a percentage of every book sold to Yii.
Implement real-world web application features efficiently using the Yii development framework. Each chapter provides micro-examples that build upon each other to create the final macro-example, a basic CRM application. Filled with useful tasks to improve the maintainability of your applications.



    A great way to plan your next travel. Time Magazine ranks 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
  • 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