webtrees / module-installer
Composer installer for webtrees modules
Installs: 19
Dependents: 1
Suggesters: 0
Security: 0
Type:composer-plugin
pkg:composer/webtrees/module-installer
Requires
- composer-plugin-api: ^2.9
Requires (Dev)
- composer/composer: ^2.9
README
This is a lightweight composer plugin that lets you install webtrees modules using composer.
It installs them to /modules_v4 instead of the usual /vendor/.
It only works with webtrees source code.
It cannot be used with standard releases as these do not have composer.json.
Module requirements
The module needs these elements in its composer.json.
{
"type": "webtrees-module",
"require": {
"webtrees/module-installer": "^1.0"
}
}
The module needs to be published on packagist.
Installing the module
In webtrees, use composer to install the module.
composer require webtrees/example-module
You should answer y to the question:
Do you trust "webtrees/module-installer" to execute code and wish to enable it now?