Skip to content

xuantan97/yii2-simple-app

Repository files navigation

Yii 2 Simple Project Template


Yii 2 Simple Project Template is a skeleton Yii 2 application best for developing basic to complex Web applications with multiple tiers.

The template includes three tiers: api, 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.

This template is using for API and backend managements use any HTML template or adminLTE to initial a backend

This project is referenced from Yii 2 Advanced Project

Documentation is at docs/guide/README.md.

DIRECTORY STRUCTURE

api
    helper/              contains helper building response data from Object/Array/Dataprovider
    modules/             contains modules and version of APIs 
common
    config/              contains shared configurations
    mail/                contains view files for e-mails
    models/              contains model classes used in both backend, console. 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
vendor/                  contains dependent 3rd-party packages
environments/            contains environment-based overrides

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published