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
v1.1.10 released on Feb 12, 2012

Fast

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

Secure

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

Professional

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

Latest News

May 29, 2012
The first Yii conference called YiiConf 2012 was held on May 19 in Kiev, Ukraine. It gathered more than 200 people from Yii Russian-speaking community. Since it was in Russian, we didn't announce it at yiiframework.com. The conference went extremely successful. We hereby are sharing some information with you.
Feb 15, 2012
It's official now: Yii is on GitHub! We also switched to use GitHub issue tracker. Existing issues have already been imported into it.
Feb 12, 2012
We are very pleased to announce the immediate availability of Yii Framework version 1.1.10. This release mainly fixes several critical bugs in CActiveForm, CJuiDatePicker, and yiilite.php that were introduced in release 1.1.9. For the complete list of changes in this release, please refer to the change log.

Books on Yii

Yii Cookbook

Yii 1.1 Application Development Cookbook

Author: Alexander Makarov (Book Website)
Publisher: Packt Publishing (August 2011)
Also available in eBook version
Packt pays a percentage of every book sold to Yii.
This one is a recipe book that contains 13 independent chapters full of useful recipes covering most interesting Yii parts. If you are a developer with a good knowledge of PHP5, are familiar with the basics of Yii, and have tried to develop applications using Yii, then this book is for you.
Yii Book

Agile Web Application Development with Yii1.1 and PHP5

Author: Jeffrey Winesett
Publisher: Packt Publishing (August 2010)
Also available in eBook version
Packt pays a percentage of every book sold to Yii.
The book takes you step-by-step through the process of using a test-driven development (TDD) approach to develop a real world Web application with Yii, from initial concept through production-readiness. Check this out if you want to quickly become a Yii master.

Testimonials

  • stay.com

    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

    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