Go to file
2021-06-08 17:05:54 +03:00
backend skill category 2021-06-08 17:05:54 +03:00
common skill category 2021-06-08 17:05:54 +03:00
console skill category 2021-06-08 17:05:54 +03:00
environments add_balance 2019-06-21 18:05:58 +03:00
frontend report task 2021-06-07 17:18:49 +03:00
vagrant add_balance 2019-06-21 18:05:58 +03:00
.bowerrc add_balance 2019-06-21 18:05:58 +03:00
.gitignore add_balance 2019-06-21 18:05:58 +03:00
.htaccess add_balance 2019-06-21 18:05:58 +03:00
codeception.yml add_balance 2019-06-21 18:05:58 +03:00
composer.json add holiday calendar 2020-08-05 14:03:45 +03:00
composer.lock report fix 2020-02-05 16:28:37 +03:00
init first commit 2018-10-11 11:15:09 +03:00
init.bat add_balance 2019-06-21 18:05:58 +03:00
LICENSE.md add_balance 2019-06-21 18:05:58 +03:00
log.txt fixed console user generate 2020-05-22 16:42:24 +03:00
package-lock.json closed admin panel 2020-01-29 11:26:01 +03:00
README.md add role user to generated user & update readme 2020-01-29 13:48:06 +03:00
requirements.php add_balance 2019-06-21 18:05:58 +03:00
Vagrantfile add_balance 2019-06-21 18:05:58 +03:00
yii.bat add_balance 2019-06-21 18:05:58 +03:00

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.

The template includes three tiers: front end, back end, and console, each of which is a separate Yii application.

The template is designed to work in a team development environment. It supports deploying the application in different environments.

Documentation is at docs/guide/README.md.

Latest Stable Version Total Downloads Build Status

DIRECTORY STRUCTURE

common
    config/              contains shared configurations
    mail/                contains view files for e-mails
    models/              contains model classes used in both backend and frontend
    tests/               contains tests for common classes    
console
    config/              contains console configurations
    controllers/         contains console controllers (commands)
    migrations/          contains database migrations
    models/              contains console-specific model classes
    runtime/             contains files generated during runtime
backend
    assets/              contains application assets such as JavaScript and CSS
    config/              contains backend configurations
    controllers/         contains Web controller classes
    models/              contains backend-specific model classes
    runtime/             contains files generated during runtime
    tests/               contains tests for backend application    
    views/               contains view files for the Web application
    web/                 contains the entry script and Web resources
frontend
    assets/              contains application assets such as JavaScript and CSS
    config/              contains frontend configurations
    controllers/         contains Web controller classes
    models/              contains frontend-specific model classes
    runtime/             contains files generated during runtime
    tests/               contains tests for frontend application
    views/               contains view files for the Web application
    web/                 contains the entry script and Web resources
    widgets/             contains frontend widgets
vendor/                  contains dependent 3rd-party packages
environments/            contains environment-based overrides

Для ролей поднять миграцию
php yii migrate --migrationPath=@yii/rbac/migrations
и выполнить консольный скрипт
php yii rbac/init