When I'm running composer in my plugins directory, I'm getting asked if I should trust getkirby/composer-installer

Do you trust "getkirby/composer-installer" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?]

and when I say yes, it will add the following to my composer.json (the one in my plugins directory):

  11 + │     "config": {
  12 + │         "allow-plugins": {
  13 + │             "getkirby/composer-installer": true
  14 + │         }
  15   │     }

I haven’t found anything about in the documentation, don’t know if I should say yes or no, or discard it?

What exactly did you do to get this message? Try and install a plugin?

I’ve created a plugin and installed it via composer. I should proably not run composer in my plugin directory? I’ve installed it with --prefer-source while developing it.

To install a plugin via composer, you would usually run composer in the root folder of your project, and Kirby would install it inside the plugins folder.

Yeah, that’s what I did, it looks like @lukasbestle 's kirby-versions also has the config above in his composer.json. It is probably not that important :slight_smile: