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.13 released on Dec 30, 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 3, 2013
We are very pleased to announce that Yii 2 is now available for public preview at GitHub. This is a major milestone during the Yii 2 development which was started more than two years ago and has since undergone complete rewrite.
Apr 11, 2013
Second edition of the Yii Application Development Cookbook by Alexander Makarov will be available in a few weeks. In the new version many recipes were updated and rewritten to reflect latest Yii and PHP world changes and improve overall experience. Additionally all errata from the first edition was fixed.
Apr 3, 2013
Yii plugin adds useful enhancements to NetBeans IDE including the following:

Books on Yii

Yii Book

Web Application Development with Yii and PHP

Author: Jeffrey Winesett
Publisher: Packt Publishing (November 2012)
Also available in eBook version
Packt pays a percentage of every book sold to Yii.
This is a step-by-step guide to creating a modern Web application using PHP, MySQL, and Yii. The book describes how to build a real-world, user-based, database-driven project task management application using the Yii development framework. Check this out if you want to quickly become a Yii master.
Yii Cookbook

Yii Application Development Cookbook

Author: Alexander Makarov (Book Website)
Publisher: Packt Publishing (May 2013)
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 Rapid Application Development Hotshot

Yii Rapid Application Development Hotshot

Author: Lauren O'Meara and James Hamilton
Publisher: Packt Publishing (December 2012)
Also available in eBook version
Packt pays a percentage of every book sold to Yii.
This book includes a series of projects to help you learn Yii and Rapid Application Development. It can be used as a cookbook to look up key concepts, or work on the projects from start to finish for a complete web application.

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