2017 © Pedro Peláez
 

project yii2-app

Yii 2 Project Template

image

xiewulong/yii2-app

Yii 2 Project Template

  • Tuesday, January 24, 2017
  • by xiewulong
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Yii 2 Project Template

Requirements

Installation

composer create-project xiewulong/yii2-app appname

Directory structure

apps                     contains webapps
    backend/
        assets/          contains application assets such as JavaScript and CSS
        components/      contains backend-specific components
        config/          contains backend configurations
        controllers/     contains Web controller classes
        models/          contains backend-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
        widgets/         contains backend widgets
    frontend/
        assets/          contains application assets such as JavaScript and CSS
        components/      contains frontend-specific components
        config/          contains frontend configurations
        controllers/     contains Web controller classes
        models/          contains frontend-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
        widgets/         contains frontend widgets
common
    assets/              contains shared assets
    components/          contains shared components
    config/              contains shared configurations
    mail/                contains view files for e-mails
    messages/            contains i18n messages
    models/              contains shared models
    widgets/             contains shared widgets
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
environments/            contains environment-based overrides
services                 contains webservices
    api/
        components/      contains api-specific components
        config/          contains api configurations
        controllers/     contains Webservice controller classes
        models/          contains api-specific model classes
        runtime/         contains files generated during runtime
        web/             contains the entry script and Web resources
vendor/                  contains dependent 3rd-party packages

The Versions

02/08 2016
01/08 2016
21/07 2016