Update config documentation#452
Open
Tigrov wants to merge 5 commits into
Open
Conversation
vjik
approved these changes
May 12, 2026
Contributor
There was a problem hiding this comment.
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
jsonbut is only a fragment ofcomposer.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>
samdark
requested changes
May 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.