開発ツールをインストール
$ bin/gpm install devtools
プラグインを CLI から作成
$ bin/plugin devtools new-plugin
Do you want to run "new-plugin" instead? (yes/no) [no]:
> yes
Enter Plugin Name:
> hello
Enter Plugin Description:
> hello
Enter Developer Name:
> man29
Enter GitHub ID (can be blank):
>
Enter Developer Email:
> info@man29.net
SUCCESS plugin hello -> Created Successfully
プラグインフォルダで composer update
を実行
composer update
詳しくはここ
https://grav-docs.man29.net/home/cook/plugin-recipes
https://learn.getgrav.org/16/cookbook/plugin-recipes