This installer is a drop-in replacement for the roundcube/plugin-installer.
See the CHANGELOG.md file for list of changes.
This installer ensures that plugins end up in the correct directory:
<roundcube-root>/plugins/plugin-name
- create a
composer.json
file in your plugin's repository - add the following contents
{
"name": "yourvendor/plugin-name",
"license": "the license",
"description": "tell the world what your plugin is good at",
"type": "roundcube-plugin",
"authors": [
{
"name": "<your-name>",
"email": "<your-email>"
}
],
"repositories": [
{
"type": "composer",
"url": "http://plugins.roundcube.net"
}
]
"require": {
"imscp/roundcube-plugin-installer": "^1.0"
},
"minimum-stability": "dev-master"
}
- Submit your plugin to plugins.roundcube.net.
- clone Roundcube
cp composer.json-dist composer.json
- add your plugin in the
require
section of composer.json composer.phar install
Read the whole story at plugins.roundcube.net.