Skip to content

Update config documentation#452

Open
Tigrov wants to merge 5 commits into
masterfrom
update-config-doc
Open

Update config documentation#452
Tigrov wants to merge 5 commits into
masterfrom
update-config-doc

Conversation

@Tigrov
Copy link
Copy Markdown
Member

@Tigrov Tigrov commented May 12, 2026

No description provided.

@Tigrov Tigrov added the type:docs Documentation label May 12, 2026
@Tigrov Tigrov requested a review from a team May 12, 2026 08:54
@Tigrov Tigrov added the status:code review The pull request needs review. label May 12, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Yii3 definitive guide’s configuration documentation to reflect the current yiisoft/config workflow and the default application template’s configuration structure and examples.

Changes:

  • Rewrites the “Config plugin” section to describe the merge plan/config loader flow and config/configuration.php.
  • Updates the documented config/ directory layout and aligns examples (DI definitions, routes, events, params) with the template structure.
  • Revises the “Package configs” section to describe vendor/root/environment layers and mentions yii-config-copy / yii-config-rebuild.
Comments suppressed due to low confidence (1)

src/guide/concept/configuration.md:47

  • This block is also fenced as json but is only a fragment of composer.json (missing the outer { ... }). Consider wrapping it in a complete JSON object or clarifying it’s an excerpt (and using an appropriate code fence) so tooling/readers don’t treat it as invalid JSON.
```json
"extra": {
    "config-plugin-file": "config/configuration.php"
}
</details>

Comment thread src/guide/concept/configuration.md
Comment thread src/guide/concept/configuration.md
Comment thread src/guide/concept/configuration.md Outdated
Comment thread src/guide/concept/configuration.md Outdated
Comment thread src/guide/concept/configuration.md Outdated
Comment thread src/guide/concept/configuration.md Outdated
Comment thread src/guide/concept/configuration.md Outdated
Comment thread src/guide/concept/configuration.md Outdated
Comment thread src/guide/concept/configuration.md Outdated
Comment thread src/guide/concept/configuration.md Outdated
Comment thread src/guide/concept/configuration.md Outdated
@Tigrov Tigrov requested a review from samdark May 14, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:code review The pull request needs review. type:docs Documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants