imscp/roundcube-plugin-installer

i-MSCP composer-installer for Roundcube插件。

安装: 885

依赖: 0

建议者: 0

安全: 0

星星: 0

关注者: 2

分支: 15

类型:composer-installer

1.0.2 2019-05-18 11:55 UTC

This package is auto-updated.

Last update: 2024-09-18 23:41:28 UTC


README

此安装程序是roundcube/plugin-installer的即插即用替代品。

查看CHANGELOG.md文件以获取更改列表。

此安装程序确保插件最终位于正确的目录

  • <roundcube-root>/plugins/plugin-name

最小设置

  • 在您的插件仓库中创建一个composer.json文件
  • 添加以下内容

插件sample composer.json

{
    "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"
}

安装

  • 克隆Roundcube
  • cp composer.json-dist composer.json
  • 在composer.json的require部分添加您的插件
  • composer.phar install

请参阅plugins.roundcube.net上的完整故事。