Kirby Plugins Loader

I have created new plugin that enable load plugins with multiple roots.

It is a simple structure for my own needs.
If you have any errors or suggestions, please feel free to tell us.

Usage

<?php

return [
    'afbora.loader.roots' => [
        '/plugins/core',
        '/plugins/theme',
        '/plugins/gateways',
    ]
];

v1.1 Released

  • Added registering single plugin feature
  • Refactored main class

Now you can add single plugin path.
There is no difference from standart usage:

<?php

return [
    'afbora.loader.roots' => [
        '/theme' // Register single plugin
    ]
];