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.1 released on Dec 7, 2014
1.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

Dec 7, 2014
We are very pleased to announce the release of Yii Framework version 2.0.1. Please refer to the instructions at http://www.yiiframework.com/download/ to install or upgrade to this version.
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.

Books on Yii

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.
Yii Project Blueprints

Yii Project Blueprints

Author: Charles R. Portwood II
Publisher: Packt Publishing (September 2014)
Packt pays a percentage of every book sold to Yii.
Develop real-world web applications through easy-to-follow, step-by-step processes. Create eight projects from beginning to end to help you explore the full power of Yii. Build a fast, user-based, database-driven content management system with a dashboard and RESTful API.
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