Yes, it is!

Yii is a fast, secure, and efficient PHP framework.
Flexible yet pragmatic.
Works right out of the box.
Has reasonable defaults.

  • Step 1
    Installation

    The primary way of installing Yii is by using Composer.

    • Install Composer
    • Get a basic project template
    • Run ./yii serve
  • Step 2
    Welcome Page

    You get a nice template which includes:

    • MVC
    • Some static pages
    • Contact via email form
    • Login and logout
    • Bootstrap UI template
    • Powerful debugger
    • and more...
  • Step 3
    Migrations

    While Yii can virtually eliminate most repetitive coding tasks, you are responsible for the real creative work. This often starts with designing the whole system to be built, in terms of some database schema. The best way to do this is by using migrations.

  • Step 4
    Gii code generator

    After it's done, use the code generator to generate models, CRUD and more.

    Then customize the generated code to suit your needs.

  • Step 5
    Where to go next

    Check these helpful resources:

Yii is Fast
Fast
Yii gives you the maximum functionality by adding the least possible overhead
Yii is Secure
Secure
Sane defaults and built-in tools helps you write solid and secure code
Yii is Efficient
Efficient
Write more code in less time with simple, yet powerful APIs and code generation
Latest News
Nov 14, 2018

ApiDoc extension version 2.1.1 released

We are very pleased to announce the release of the ApiDoc extension version 2.1.1.

» read more

Sep 23, 2018

Debug extension 2.0.14 released

We are very pleased to announce the release of Debug extension version 2.0.14. In this release, additionally to bugfixes, there's new "Events" panel.

» read more

Sep 23, 2018

HTTP client extension 2.0.7 released

We are very pleased to announce the release of HTTP client extension version 2.0.7. In this release, Response::detectFormatByContent was fixed to properly detect JSON Array. Additionally, Request::setFullUrl() method was added.

» read more

Sep 23, 2018

Swiftmailer extension 2.1.2 released

We are very pleased to announce the release of Swiftmailer extension version 2.1.2. This release brings automatic transport restart and adds an ability to specify the disposition of an attachment by supplying a setDisposition value when embedding content in a message.

» read more

Read all news
Books and Videos on Yii
Author: Larry Ullman

Covers everything from very basics to advanced topics. Explanations are very clear. Additionally to the guide-style chapters there are two complete examples. The second edition (for Yii 2.0) is not finished yet, but buyers can download updates as they are available.

Author: Bill Keck

It is a step by step introduction to the framework, which is based around creating a reusable template that can serve as the basis for your projects.

Author: Mark Safronov

Based around implementing a real world CRM following many best practices. It is assumed that reader is experienced enough in OOP so don't expect OO-basics explained.

Author: Matteo Pescarin

Embrace 360-degree testing on your Yii 2 projects using Codeception.

Author: Andrew Bogdanov, Dmitry Eliseev

The book is a set of individual independent recipes. Each recipe shows how to do something useful with Yii explainig why it's done, how it's done, why it works and how exactly it works.

Testimonials
  • Craft is a content-first CMS that aims to make life enjoyable for developers and content managers alike.

    Choosing the right PHP framework was a vital decision when we set out to build Craft. With its elegant, modular architecture, rich internationalization support, and helpful documentation, Yii was a perfect fit.

    Brandon Kelly
    creator of Craft

  • HumHub is a free social network software and framework built to give you the tools to make communication and collaboration easy and successful.

    Yii Framework is our rock solid foundation and provides us with numerous well designed features already out of the box. Especially the flexibility in form of modules or the event concept, perfectly match our requirements. In and above that, Yii has very active and helpful community!

    Lucas Bartholemy
    CEO of HumHub

  • LUYA is a free and open-source toolbox to build websites and web applications of any size, extending the Yii Framework with an administration, a content management system and other useful modules.

    For us, the well-thought-out, solid Yii Framework is the giant upon whose shoulders LUYA is built. We are happy to be a part of the passionate Yii community.

    Basil Suter
    Lead developer of LUYA

Latest Extensions