yiisoft/yii2-app-advanced

Yii 2 高级项目模板

资助包维护!
Open Collective
Tidelift

安装次数: 926,733

依赖项: 5

建议者: 0

安全: 0

星标: 1,661

关注者: 180

分支: 1,286

类型:项目

2.0.51 2024-07-18 20:03 UTC

README

Yii 2 高级项目模板


Yii 2 高级项目模板是一个骨架 Yii 2 应用程序,非常适合开发具有多个层的复杂Web应用程序。

该模板包括三个层:前端、后端和命令行,每个都是一个独立的 Yii 应用程序。

该模板设计用于团队开发环境。它支持在不同环境中部署应用程序。

文档位于 docs/guide/README.md

Latest Stable Version Total Downloads build

目录结构

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