robote13 / yii2-webapp-template
Yii 2 Advanced Project Template
1.2.3
2020-12-14 11:41 UTC
Requires
- php: >=7.4.0
- yiisoft/yii2: ~2.0.14
- yiisoft/yii2-bootstrap: ~2.0.0
- yiisoft/yii2-swiftmailer: ~2.0.0 || ~2.1.0
Requires (Dev)
- codeception/codeception: ^4.0
- codeception/module-asserts: ^1.0
- codeception/module-filesystem: ^1.0
- codeception/module-yii2: ^1.0
- codeception/verify: ~0.5.0 || ~1.1.0
- symfony/browser-kit: >=2.7 <=4.2.4
- yiisoft/yii2-debug: ~2.1.0
- yiisoft/yii2-faker: ~2.0.0
- yiisoft/yii2-gii: ~2.1.0
README
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: frontoffice (public site), backoffice (for administration purposes), and console, each of which is a separate Yii application.
The template is supports deploying the application in different environments.
Documentation is at docs/guide/README.md.
DIRECTORY STRUCTURE
common
config/ contains shared configurations
mail/ contains view files for e-mails
models/ contains model classes used in both backoffice and frontoffice
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
backoffice
config/ contains backoffice configurations
controllers/ contains Web controller classes
models/ contains backoffice-specific model classes
runtime/ contains files generated during runtime
tests/ contains tests for backoffice application
themes/ contains view files and assets such as JavaScript and CSS
web/ contains the entry script and Web resources
frontoffice
config/ contains frontoffice configurations
controllers/ contains Web controller classes
models/ contains frontoffice-specific model classes
runtime/ contains files generated during runtime
tests/ contains tests for frontoffice application
themes/ contains view files and assets such as JavaScript and CSS
web/ contains the entry script and Web resources
widgets/ contains frontoffice widgets
vendor/ contains dependent 3rd-party packages
environments/ contains environment-based overrides