
Admin tools: Moodle plugin skeleton generator
tool_pluginskel
Maintained by
David Mudrák
Allows developers to quickly generate code skeleton for a new Moodle plugin.
388 sites
588 downloads
54 fans
This tool allows developers to quickly generate code skeleton for a new Moodle plugin. Relevant code is generated according to defined list of requested plugin features.
The tool provides both web and command line interface.
See the page Plugin skeleton generator docs page for more details.
The initial implementation by Alexandru Elisei as a GSOC 2016 project mentored by David Mudrák.
Sets
This plugin is part of set Moodle development.
Contributors
David Mudrák (Lead maintainer)
Alexandru Elisei: Original author (GSOC 2016 student)
Michael Hughes
Tomasz Muras
Geoffrey Van Wyk
Leo Auri
Jonathan Champ
Ferran Recio Calderó
Please login to view contributors details and/or to contact them
I believe it just needs to be updated. A pull request at github will be appreciated, or an issue created there at least. Thanks in advance.
Version 1.1.0 released, allowing to generate privacy API scaffolding. No UI at the moment, manually edited input YAML recipes only. Refer to cli/example.yaml.
Hi Steve. IIRC that is expected behaviour as the XMLDB editor is more appropriate tool to create this file. What I used to do was (1) generate the module's skeleton inside a Moodle installation (2) go directly to the site's /admin/tool/xmldb/ address (that is the annoying part where you have to avoid visiting the Notifications page that would trigger the plugin installation) and (3) create the module's install.xml using the XMLDB and (4) finally install the plugin.
I agree this is rather cumbersome workflow. Please feel encouraged to report a new feature request so that plugins come with a bare-minimal working install.xml out of the box.
For the record, the most recent version 1.2.3 has (among other things) the support for generating a minimal db/install.xml implemented. Thanks again Steve for raising it.