Skip to content
Yii 2.0 Advanced Application Template
Branch: master
Clone or download
Latest commit 5febea4 May 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create FUNDING.yml May 23, 2019
backend replace document root, fixes #409 (#410) Jan 30, 2019
common Fixes #426: Adjusted contact form email headers Apr 23, 2019
console Fix default migration with 'tablePrefix' (#420) [skip ci] Mar 24, 2019
docs Fix grammatical error (#423) [skip ci] Mar 26, 2019
environments setWritable 'console/runtime' (#396) Sep 13, 2018
frontend Fixed contact form test Apr 23, 2019
vagrant Moving shared vagrant provision code to common.sh (#322) Feb 6, 2018
.bowerrc Fixed bowerrc (#315) Nov 3, 2017
.gitattributes
.gitignore remove publicly accessable .gitignore files (#388) Sep 6, 2018
.travis.yml Removed older PHP from tests since Codecetion isn't able to run witho… Jan 27, 2019
LICENSE.md Removed redundant line from license [skip ci] Apr 26, 2018
README.md Updated badges Feb 18, 2018
Vagrantfile Replaced .dev and .local with .test [skip ci] Dec 20, 2017
codeception.yml refactored codeception tests Aug 4, 2016
composer.json prepare for next release May 21, 2019
docker-compose.yml Added minimal Docker setup (#347) Jan 15, 2019
init #379 - Adjustment to prevent the execution when args are not passed p… Dec 12, 2018
init.bat Removed unnecessary copyright comments. [skip ci] (#333) Jan 7, 2018
requirements.php Old array syntax in requirement checker (could be run in PHP prior to… Mar 24, 2019
yii.bat Removed unnecessary copyright comments. [skip ci] (#333) Jan 7, 2018

README.md

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
You can’t perform that action at this time.