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.15 released on Jun 29, 2014

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

Jun 29, 2014
We are releasing Yii 1.1.15 to fix a security issue found in 1.1.14. We urge all 1.1.14 users to upgrade their Yii to this latest release. Note that the issue only affects 1.1.14. All previous releases are not affected. Upgrading to this release from 1.1.14 is very safe and will not break your existing code.
Apr 13, 2014
We are very pleased to announce the Beta release of Yii Framework version 2. You can download it from yiiframework.com.
Aug 11, 2013
We are very pleased to announce that Yii Framework version 1.1.14 is released. You can download it at yiiframework.com/download/.

Books on Yii

Beginning Yii [Video]

Beginning Yii [Video]

Author: Chris Backhouse
Publisher: Packt Publishing (September 2013)
This is a video course designed for new Yii users. If you are a PHP developer, either with or without previous framework experience, and you have an interest to learn Yii and to rapidly develop modern, sophisticated web applications, then this video course is for you. No prior knowledge of Yii is expected.
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