No configuration from my extension in merge-plan

extension: kmergen/yii-user
composer.json

"extra": {
    "branch-alias": {
      "dev-main": "1.0.x-dev"
    },
    "config-plugin-options": {
      "source-directory": "config"
    },
    "config-plugin": {
      "di-web": "kmergen-user.php",
      "params": "params.php",
      "routes": "routes.php"
    }
  },

if i update my app (yii-app), where I have installed my extension, nothing goes into my merge-plan.

I read the config docs, but I cannot see any further step todo. Can you help me please?

.merge-plan.php

   'routes' => [
            'yiisoft/yii-gii' => [
                'config/routes.php',
            ],
            'yiisoft/yii-debug-api' => [
                'config/routes.php',
            ],
            'yiisoft/yii-debug-viewer' => [
                'config/routes.php',
            ],
            '/' => [
                'common/routes.php',
            ],
        ],

I have done all composer calls, nothing helps:

composer update
composer du
composer yii-config-rebuild

By default Yii Config process packages with types “library” and “composer-plugin”. You can override it in application Yii Config configuration:

"extra": {
    "config-plugin-options": {
        "package-types": ["library", "composer-plugin", "extension"]
    }
}

Docs here: GitHub - yiisoft/config: Configuration management

1 Like

Thank you very much. That was it.
For others to know what todo:

my extension composer.json

 "name": "kmergen/yii-user",
    "description": "A Yii3 user management extension",
    "type": "extension",
    "license": "BSD-3-Clause",
 

in yiisoft/app configuration.php

 'config-plugin-options' => [
        'source-directory' => 'config',
        "package-types" => ["library", "composer-plugin", "extension"]
    ],