kj415j45/kjBot

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "kj415j45/kjbot",
    "description": "kjBot Framework and Modules",
    "keywords": ["qqbot", "coolq-http-api", "kj"],
    "license": "(MIT and AGPL-3.0-or-later)",
    "authors": [
        {
            "name": "kj415j45",
            "email": "kj415j45@gmail.com"
        }
    ],
    "support": {
        "QQ Group": "805348195"
    },
    "type": "project",
    "autoload": {
        "psr-4": {
            "kjBot\\SDK\\": "SDK/",
            "kjBot\\Frame\\": "public/"
        },
        "files": ["public/tools/Autoload.php"]
    },
    "require": {
        "php": "^7.2",
        "ext-sqlite3": "^7.2"
    },
    "suggest": {
        "intervention/image": "osu 模块绘图依赖",
        "ext-imagick": "image 库依赖",
        "knplabs/github-api": "issue, version 模块依赖",
        "php-http/guzzle6-adapter": "github-api 库依赖",
        "lcobucci/jwt": "issue 模块依赖",
        "linfo/linfo": "status 模块依赖",
        "nelexa/zip": "osu.listen 模块依赖",
        "statickidz/php-google-translate-free": "translate 模块依赖",
        "pndurette/gTTS": "一个pip库,voice 模块依赖"
    },
    "scripts": {
        "post-root-package-install": [
            "@php -r \"file_exists('config.ini') || copy('config.ini.example', 'config.ini');\""
        ],
        "framework-only": [
            "@php framework-only.php"
        ]
    },
    "config": {
        "sort-packages": true,
        "optimize-autoloader": true
    },
    "require-dev": {
        "ext-json": "^1.6",
        "intervention/image": "^2.4",
        "knplabs/github-api": "^2.9",
        "lcobucci/jwt": "^3.2",
        "linfo/linfo": "^4.0",
        "meyfa/php-svg": "^0.9.0",
        "nelexa/zip": "^3.1",
        "php-http/guzzle6-adapter": "^1.1",
        "statickidz/php-google-translate-free": "^1.0"
    }
}