Github: https://github.com/jenstornell/kirby-plugin-manager
Include, exclude, sort and use groups for your plugins.
The Kirby Plugin Groups is rewritten and renamed to Kirby Plugin Manager. It’s now a real plugin and it’s much more feature rich and simpler to use.
Plugin folder structure
__plugin-manager
kirby-blueprint-reader
load-first--group
kirby-dependencies
kirby-init-class
seo--group
kirby-seo
kirby-sitemap-query
Suffix
c::set('plugin.manager.suffix', '--group');
Include and sort
c::set('plugin.manager.include', function($plugins) {
return [
'load-first--group/kirby-init-class', // Include a plugin in a group
'seo--group', // Include a whole group
'kirby-blueprint-reader', // Include a plugin
];
});
Exclude
c::set('plugin.manager.exclude', function($plugins) {
return [
'load-first--group', // Exclude a whole group
'kirby-blueprint-reader', // Exclude a plugin
];
});
Changelog 0.2
- Added package.json.
- Include config added with plugin.manager.include.
- Exclude config added with plugin.manager.exclude.
- Group suffix config added with plugin.manager.suffix.
- Changed name from “Kirby Plugin Groups” to “Kirby Plugin Manager”.
- Made as a real plugin.
- Complete rewrite.