fgh151/yii2-app-template

Yii 2 Advanced Project Template

dev-master 2022-10-27 04:01 UTC

This package is auto-updated.

Last update: 2023-01-27 04:36:23 UTC


README

993323

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

DIRECTORY STRUCTURE


config                           contains shared configurations
public                           contains the entry script and Web resources
runtime                          contains files generated during runtime
src
    commands                     contains console controllers (commands)
    mail                         contains view files for e-mails
    models                       contains model classes
    widgets/                     contains widgets
    migrations/                  contains database migrations
    applications/                contains app files    
        admin
            assets/              contains application assets such as JavaScript and CSS
            config/              contains admin configurations
            controllers/         contains Web controller classes
            models/              contains admin-specific model classes
            tests/               contains tests for admin application    
            views/               contains view files for the Web application
        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
            tests/               contains tests for frontend application
            views/               contains view files for the Web application
vendor/                          contains dependent 3rd-party packages
environments/                    contains environment-based overrides