Variant "Setup with Composer dependencies"
This is a boilerplate for a Kirby plugin that can be installed via all three supported installation methods.
You can find a list of Pluginkit variants on the master
branch.
composer.json
index.php
index.php
and the src
directorycomposer require
README
with instructions for your pluginWe have a tutorial on how to build your own plugin based on the Pluginkit in the Kirby documentation.
What follows is an example README for your plugin.
Download and copy this repository to /site/plugins/{{ plugin-name }}
.
git submodule add https://github.com/{{ your-name }}/{{ plugin-name }}.git site/plugins/{{ plugin-name }}
composer require {{ your-name }}/{{ plugin-name }}
Additional instructions on how to configure the plugin (e.g. blueprint setup, config options, etc.)
Document the options and APIs that this plugin offers
Add instructions on how to help working on the plugin (e.g. npm setup, Composer dev dependencies, etc.)
MIT