fgh151 / yii2-app-template
Yii 2 Advanced Project Template
Fund package maintenance!
Open Collective
Tidelift
Requires
- php: ^8.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
- roave/security-advisories: dev-master
- symfony/browser-kit: ^5.4.x-dev
- yiisoft/yii2-debug: ~2.1.0
- yiisoft/yii2-faker: ~2.0.0
- yiisoft/yii2-gii: ~2.2.4
This package is auto-updated.
Last update: 2024-11-27 09:08:03 UTC
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: 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.
DIRECTORY STRUCTURE
config contains shared configurations
public contains the entry script and Web resources
runtime contains files generated during runtime
src
commands contains console controllers (commands)
mail contains view files for e-mails
models contains model classes
widgets/ contains widgets
migrations/ contains database migrations
applications/ contains app files
admin
assets/ contains application assets such as JavaScript and CSS
config/ contains admin configurations
controllers/ contains Web controller classes
models/ contains admin-specific model classes
tests/ contains tests for admin application
views/ contains view files for the Web application
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
tests/ contains tests for frontend application
views/ contains view files for the Web application
vendor/ contains dependent 3rd-party packages
environments/ contains environment-based overrides