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

    The primary way of installing Yii is by using Composer.

    • Install Composer
    • Get a basic project template
    • Run ./yii serve
  • Welcome Page
    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

    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.

  • Gii code generator
    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
Yii gives you the maximum functionality by adding the least possible overhead
Yii is Secure
Sane defaults and built-in tools helps you write solid and secure code
Yii is Efficient
Write more code in less time with simple, yet powerful APIs and code generation
Latest News
Jul 11, 2024

Yii Error Handler 3.3

Yii Error Handler package was updated with the following enhancements:

» read more

Jul 11, 2024

Yii HTML 3.5

Version 3.5 of Yii HTML package is released. There are some improvements:

» read more

Jul 3, 2024

Yii Logging Library 2.1

Yii Logging Library package was updated with the following enhancements and new features:

» read more

Jul 2, 2024

Yii Mailer Library 5.1

Minor version of Yii Mailer Library was tagged. There are some improvements and fixes:

» 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 explaining why it's done, how it's done, why it works and how exactly it works.

  • 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