Helping Kirby 3 plugin authors provide Composer support

With the launch of Kirby 3, there are now two ways plugins can be installed: using Git submodules, and via Composer/Packagist. My personal preference is for Composer, and ideally I would only need to use this one method to manage all my plugins. However, on the few occasions I’ve asked a plugin developer if they were planning to provide support for Composer, they have been unsure how to do so or where to start.

So… is there a good guide to get developers up to speed with adding Composer support to their plugins, and further still, any specific requirements they need be aware of to support Kirby 3? If there is, I can provide that link when making such requests (or better still possibly create a pull request to add that support myself). If not, perhaps this could be added to Kirby’s documentation?

1 Like

Hi Paul, there isn’t yet, but we are aware of the need and the lack in the documentation so far. We plan to change this soon (it might take us still a week or two though) for all the reasons that you mentioned.

Good to know this is on your radar. Thanks!

Here is the Github issue if you want to follow: https://github.com/getkirby/getkirby.com/issues/8

We have now built a Pluginkit that makes supporting Composer in plugins a lot easier: Introducing the Pluginkit