structure-basics

Installation
SKILL.md

Yii2 Application Structure

When to use

  • The user is setting up a Yii2 application config array and entry script to bootstrap the app.
  • The user wants to configure a Yii2 application component such as db, cache, or a custom component accessed via Yii::$app.
  • The user needs to register class dependencies in the Yii2 dependency injection container with Yii::$container.

When NOT to use

  • Do not scaffold the full Yii2 application structure for a one-off script; a micro-framework or plain PHP is enough.
  • Do not apply Yii2 structure guidance when the project targets Yii3, which uses a different config and container model.

Core guidance

Installs
1
GitHub Stars
3
First Seen
Jul 3, 2026
structure-basics — anyorgname/php-skills