Fix #360: Add package design guide#462
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new guide page describing how to design Composer packages that integrate with a Yii3 application via configuration. It walks through package layout, the extra.config-plugin metadata, parameters, DI definitions and providers, routes, events, assets, migrations, translations, themes, console commands, and application-override guidance. The page is wired into the guide index, the VitePress sidebar, and cross-linked from package.md.
Changes:
- Add
src/guide/structure/designing-packages.mdcovering all Yii3 package integration points listed in #360. - Link the new page from
src/guide/structure/package.mdand the guide index. - Register the page in the VitePress sidebar under Structure.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/guide/structure/designing-packages.md | New guide page documenting Yii3 package design across config groups, DI, routes, events, assets, migrations, translations, themes, and commands. |
| src/guide/structure/package.md | Cross-link from the existing Packages page to the new designing-packages page. |
| src/guide/index.md | Add the new page to the Structure section of the guide TOC. |
| src/.vitepress/config.js | Add the new page to the VitePress sidebar under Structure. |
samdark
commented
May 29, 2026
vjik
reviewed
May 29, 2026
vjik
reviewed
May 29, 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.
Closes #360.
Summary
Checks