Yii 2 Advanced Project Template
Yii 2 Advanced Project Template is a skeleton Yii 2 application best for
developing complex Web applications with multiple tiers., (*1)
The template includes three tiers: front end, back end, and console, each of which
is a separate Yii application., (*2)
The template is designed to work in a team development environment. It supports
deploying the application in different environments., (*3)
Documentation is at docs/guide/README.md., (*4)
, (*5)
DIRECTORY STRUCTURE
app
assets/ contains application assets such as JavaScript and CSS
commands/ contains console controller classes
config/ contains app configurations
controllers/ contains Web controller classes
migrations/ contains database migrations
models/ contains app-specific model classes
runtime/ contains files generated during runtime
views/ contains view files for the Web application
web/ contains the entry script and Web resources
common
config/ contains shared configurations
mail/ contains view files for e-mails
models/ contains model classes used in both rest and app
rest
config/ contains rest configurations
controllers/ contains Web controller classes
models/ contains rest-specific model classes
runtime/ contains files generated during runtime
views/ contains view files for the Web application
web/ contains the entry script and Web resources
vendor/ contains dependent 3rd-party packages
environments/ contains environment-based overrides
tests contains various tests for the advanced application
codeception/ contains tests developed with Codeception PHP Testing Framework