A template for building pocketmine plugins!
- Run
composer setup
to add a phpstan configuration (phpstan.neon file). - Rename folders
src/Author/TemplatePlugin
tosrc/<AuthorName>/<PluginName>
. - Update the namespace of
Main.php
. - In plugin.yml change
name
,author
, andmain
. - Select a license, and place it in the file
LICENSE
. - In composer.json change
name
,description
, andlicense
.
This template repository uses The Unlicense, and is in the public domain. You may add whatever license you like to your plugin after applying this template.
Make sure to change the license in the LICENSE
file and
in the composer.json