Need help with yii-demo?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

184 Stars 69 Forks 311 Commits 17 Opened issues


Yii 3 demo application

Services available


Need anything else?

Contributors list

Yii Framework

Yii Framework Demo Project

[Yii Framework] is a modern framework designed to be a solid foundation for your PHP application.

It's intended to show and test all Yii features.

Latest Stable Version Total Downloads build Code Coverage static analysis type-coverage


You'll need PHP 7.4. Additionally, NodeJs is used in this repository to fetch assets, so it should be installed.

  1. Clone this repository.
  2. Configure
    . You can skip this step.
  3. Run
    composer install
    in project root directory.
  4. Run
    ./vendor/bin/yii serve
    or start your web-server setting up
    directory as webroot.
  5. Go to index page. Cycle ORM will create tables, indexes and relations automatically in the configured DB. If you want to disable this behavior then comment out line with
    in the
    . In this case you should create migrations to sync changes of entities with DB.
    1. Run
      ./vendor/bin/yii fixture/add 20
      to create some random data.


Console works out of the box and could be executed with


Some commands:

fixture/add [count]

In order to register your own commands, add them to


Web application

In order to run web application either built-in web server could be used by running

./vendor/bin/yii serve
or a real web server could be pointed to

More routes could be added by editing


We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.