This document defines naming convention for the framework groups used with yiisoft/config.
Note that this isn't naming convention for config files.
These are could be anything and are mapped to group names via composer.json
.
- "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"
Application config parameters that are used in all configs.
params
— common parametersparams-web
— web application parametersparams-console
— console application parameters
Configuration for yiisoft/di.
di
— common container definitionsdi-web
— web container definitionsdi-console
— console container definitions
di-providers
— common container providersdi-providers-web
— web container providersdi-providers-console
— console container providers
di-delegates
— common container delegatesdi-delegates-web
— web container delegatesdi-delegates-console
— console container delegates
di-tags
— common container tagsdi-tags-web
— web container tagsdi-tags-console
— console container tags
Configuration for yiisoft/yii-event.
events
— common eventsevents-web
— web eventsevents-console
— console events
Application bootstrapping for yiisoft/yii-runner.
bootstrap
— common bootstrapbootstrap-web
— web bootstrapbootstrap-console
— console bootstrap
routes
— yiisoft/router routeswidgets
— yiisoft/widget default widgets configuration