Simple web application for Yii3.



Simple web application for Yii3.

Total Downloads Build Status codecov static analysis type-coverage

Directory structure

config/             application directory configurations
    common          contains common config local classes
    web             contains web config local classes
    widget          contains widget config local classes
src/                application directory
    Action          contains action classes
    Command         contains command console classes
    Handler         contains handlers classes


If you do not have Composer, you may install it by following the instructions at getcomposer.org.

You can then install this project template using the following command:

composer create-project --prefer-dist --stability dev yii-extension/simple-app <your project>

Now you should be able to access the application through the following URL, assuming app is the directory directly under the public root.

Configuring your application

All the configuration is in the config directory of the application.

Using PHP built-in server

php -S -t public

Wait till it is up, then open the following URL in your browser


Codeception testing

The package is tested with Codeception. To run tests:

php -S -t public > yii.log 2>&1 &
vendor/bin/codecept run

Static analysis

The code is statically analyzed with Psalm. To run static analysis:



The yii-extension/simple-app for Yii Packages is free software.

It is released under the terms of the BSD License. Please see LICENSE for more information.

Maintained by Yii Extension.

Support the project

Official website Open Collective