yiisoft/yii2-app-advanced — an open-source project — sits at 1.7k GitHub stars. Yii 2.0 Advanced Application Template
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
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.
Docker
REQUIREMENTS
[!IMPORTANT]
The minimum required PHP version of Yii is PHP 8.2.
Install via Composer
If you do not have Composer, you may install it by following the instructions
at getcomposer.org.
You can then install this project template using the following commands:
composer create-project --prefer-dist yiisoft/yii2-app-advanced advanced
cd advanced
Frontend
Backend
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
Initialize the application for the Development environment:
php init --env=Development --overwrite=All
Now you should be able to access the application through the following URLs, assuming advanced is the directory
directly under the Web root.
Yii won't create the database for you, this has to be done manually before you can access it.
When using Docker, the MySQL service creates the database automatically.
Check and edit the other files in the config/ directories to customize your application as required.
Refer to the README in the tests directory for information specific to application tests.
TESTING
Tests are located in frontend/tests, backend/tests, and common/tests directories.
They are developed with Codeception PHP Testing Framework.
How active is development on yiisoft/yii2-app-advanced?
The most recent commit recorded on yiisoft/yii2-app-advanced was 16 days ago, based on the GitHub push timestamp. The repository has 1.3k forks — one of the better signals of community interest.
How many stars does yiisoft/yii2-app-advanced have?
yiisoft/yii2-app-advanced has 1.7k GitHub stars — refresh the page for the live number, or check github.com/yiisoft/yii2-app-advanced. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
What is yiisoft/yii2-app-advanced?
yiisoft/yii2-app-advanced (yiisoft/yii2-app-advanced) is a PHP project on GitHub. From the project's own README: Yii 2.0 Advanced Application Template
What language is yiisoft/yii2-app-advanced written in?
yiisoft/yii2-app-advanced is written primarily in PHP. GitHub's language field is based on the largest share of bytes in the default branch.
What topics is yiisoft/yii2-app-advanced associated with?
GitHub's repository topics for yiisoft/yii2-app-advanced: "hacktoberfest", "project-template", "yii", "yii2". TopGit's editorial category is open-source.
Read full README in the tab above.
Curious whether yii2-app-advanced is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about yii2-app-advanced.