Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mudrd8mz/moodle-tool_pluginskel
Generator of Moodle plugins skeletons
https://github.com/mudrd8mz/moodle-tool_pluginskel
moodle moodle-plugin skeleton
Last synced: 2 days ago
JSON representation
Generator of Moodle plugins skeletons
- Host: GitHub
- URL: https://github.com/mudrd8mz/moodle-tool_pluginskel
- Owner: mudrd8mz
- License: other
- Created: 2016-06-21T19:11:58.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-04-25T20:23:59.000Z (7 months ago)
- Last Synced: 2024-04-25T21:32:38.029Z (7 months ago)
- Topics: moodle, moodle-plugin, skeleton
- Language: PHP
- Homepage: https://moodle.org/plugins/tool_pluginskel
- Size: 1.02 MB
- Stars: 47
- Watchers: 12
- Forks: 40
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Moodle plugin skeleton generator
This tool allows developers to quickly generate code skeleton for Moodle
plugins. Relevant code is generated according to defined list of requested
plugin features.## Usage ##
Plugin features and other properties are described in so called recipe files. Recipes
use [YAML](https://yaml.org/) syntax.name: Moodle demo plugin
component: tool_demo
release: "0.1.0"
requires: "3.9"
maturity: MATURITY_ALPHA
copyright: 2021 David Mudrákfeatures:
readme: true
license: true
settings: trueprivacy:
haspersonaldata: falseFor full list of supported options, see [cli/example.yaml](cli/example.yaml) file.
To generate skeleton of the plugin described in `./myplugin.yaml`:
$ php cli/generate.php myplugin.yaml
Run `generate.php --help` for more options and features.
## Documentation ##
See the page [Plugin skeleton
generator](https://docs.moodle.org/en/admin/tool/pluginskel/index) at moodle
docs site.## Installing from Git ##
1. Go to the folder with your Moodle development installation:
$ cd {your/moodle/dirroot}
2. Clone this repository to the correct location folder:
$ git clone https://github.com/mudrd8mz/moodle-tool_pluginskel.git admin/tool/pluginskel
3. Complete the installation:
$ sudo -u www-data php admin/cli/upgrade.php
or just log in to your Moodle development site as an admin.
## License ##
Copyright (C) 2016 Alexandru Elisei, David Mudrák
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along with
this program. If not, see .