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.8 released on April 28, 2016
1.1.17 released on Jan 13, 2016

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 27, 2016
We are very pleased to announce the release of the MongoDB extension version 2.1.0, which uses the new PHP MongoDB driver, providing the ability to function on PHP 7.x and HHVM.
May 9, 2016
We are very pleased to announce the release of MongoDB extension version 2.0.5 which brings 17 enhancements and bug fixes. See CHANGELOG for details.
Apr 28, 2016
We are very pleased to announce the release of Yii Framework version 2.0.8. Please refer to the instructions at http://www.yiiframework.com/download/ to install or upgrade to this version.

Books and Videos on Yii

Mastering Yii

Mastering Yii

Author: Charles R. Portwood II
Publisher: Packt Publishing (January 2016)
Packt pays a percentage of every book sold to Yii.
Advance your modern web application development skills with Yii Framework 2
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

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