2017 © Pedro Peláez
 

project yii2-starter

Yii 2 Starter based on Advanced Project Template

image

wokster/yii2-starter

Yii 2 Starter based on Advanced Project Template

  • Friday, October 6, 2017
  • by wokster
  • Repository
  • 2 Watchers
  • 1 Stars
  • 132 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 13 Versions
  • 4 % Grown

The README.md

My Yii 2 Advanced Project Template With some addons

Please do not use yet, still under development Пожалуйста пока не пользуйтесь, еще на стадии разработки, (*1)

used for educational purposes on my youtube channel:Yii2 for Blondes and Dummies: lessons, notes, guides используется в образовательных целях на моем канале в youtube: Yii2 для Блондинок и Чайников: уроки, заметки, гайды, (*2)

INSTALL

create project, (*3)

composer create-project wokster/yii2-starter myproject.com

go to project folder, (*4)

cd myproject.com

init project, (*5)

php init

create db and add params in ...myproject.com\common\config\main-local.php run yii2 migrations to create user table and other:, (*6)

php yii migrate

it's all, (*7)

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

The Versions