022 — Config groups
This document defines naming convention for the framework groups used with yiisoft/config. Note that this isn't a naming convention for config files. These could be anything and are mapped to group names via composer.json.
Config group name postfixes
- "web" postfix applies to web only that's classic server HTML generation, REST, RPC, etc.
- "console" postfix applies to console
- If there's no postfix, it's "common" and applies to both web and console
- "web" and "console" may override what's defined in "common"
Parameters
Application config parameters that are used in all configs.
params— common parametersparams-web— web application parametersparams-console— console application parameters
Container
Configuration for yiisoft/di.
Definitions
di— common container definitionsdi-web— web container definitionsdi-console— console container definitions
Providers
di-providers— common container providersdi-providers-web— web container providersdi-providers-console— console container providers
Delegates
di-delegates— common container delegatesdi-delegates-web— web container delegatesdi-delegates-console— console container delegates
Tags
di-tags— common container tagsdi-tags-web— web container tagsdi-tags-console— console container tags
Eventos
Configuration for yiisoft/yii-event.
events— common eventsevents-web— web eventsevents-console— console events
Bootstrap
Application bootstrapping for yiisoft/yii-runner.
bootstrap— common bootstrapbootstrap-web— web bootstrapbootstrap-console— console bootstrap
Others
routes— yiisoft/router routeswidgets— yiisoft/widget default widgets configuration