{
    "name": "yidashi/yii2cmf",
    "description": "yii2内容管理框架",
    "keywords": ["yii2", "cmf", "yii2cmf"],
    "homepage": "http://www.51siyuan.cn/",
    "type": "project",
    "license": "BSD-3-Clause",
    "support": {
        "issues": "https://github.com/yidashi/yii2cmf/issues?state=open",
        "forum": "http://www.51siyuan.cn/suggest/",
        "wiki": "http://www.51siyuan.cn/wiki/",
        "irc": "irc://irc.freenode.net/yii",
        "source": "https://github.com/yidashi/yii2cmf"
    },
    "minimum-stability": "stable",
    "require": {
        "php": ">=5.4.0",
        "fxp/composer-asset-plugin":"^1.2.0",
        "yiisoft/yii2": ">=2.0.9",
        "yiisoft/yii2-bootstrap": "*",
        "yiisoft/yii2-swiftmailer": "*",
        "yiisoft/yii2-authclient": "~2.1.0",
        "yiisoft/yii2-redis": "*",
        "yiisoft/yii2-imagine": "^2.0",
        "aferrandini/phpqrcode": "1.0.1",
        "mobiledetect/mobiledetectlib": "^2.8",
        "omnilight/yii2-scheduling": "*",
        "vlucas/phpdotenv": "^2.0",
        "vova07/yii2-imperavi-widget": "*",
        "2amigos/yii2-editable-widget": "0.1.*",
        "raulfraile/distill": "@stable",
        "fabpot/goutte": "^3.1",
        "kartik-v/yii2-widget-select2": "*",
        "kartik-v/yii2-widget-datetimepicker": "^1.4",
        "kartik-v/yii2-widget-datepicker": "^1.3",
        "hightman/xunsearch": "*@beta",
        "bower-asset/blueimp-file-upload" : "*",
        "bower-asset/editor.md": "*",
        "creocoder/yii2-flysystem": "*",
        "qiniu/php-sdk": "^7.1",
        "abei2017/yii2-wx": "^1.3",
        "slavkovrn/yii2-lightbox": "^1.0",
        "chenkby/yii2-region": "dev-master",
        "kartik-v/yii2-grid": "@dev",
        "kartik-v/yii2-editable": "@dev",
        "lvht/geohash": "^1.1",
        "light/yii2-layer": "*",
        "kosinix/grafika": "^2.0",
        "phpoffice/phpspreadsheet": "^1.8"
    },
    "require-dev": {
        "yiisoft/yii2-debug": "*",
        "yiisoft/yii2-gii": "*",
        "yiisoft/yii2-faker": "*"
    },
    "autoload": {
        "files": [
            "common/helpers/function.php"
        ]
    },
    "scripts": {
        "post-install-cmd": [
            "php -r \"file_exists('.env') || copy('.env.example', '.env');@chmod('.env', 0766);\"",
            "yii\\composer\\Installer::postCreateProject"
        ],
        "post-root-package-install" :[
            "php -r \"file_exists('.env') || copy('.env.example', '.env');@chmod('.env', 0766);\"",
            "yii\\composer\\Installer::postCreateProject"
        ]
    },
    "config": {
        "process-timeout": 1800,
        "fxp-asset": {
            "installer-paths": {
                "npm-asset-library": "vendor/npm",
                "bower-asset-library": "vendor/bower"
            }
        },
        "allow-plugins": {
            "yiisoft/yii2-composer": true,
            "fxp/composer-asset-plugin": true
        }
    },
    "extra": {
        "yii\\composer\\Installer::postCreateProject": {
            "setPermission": [
                {
                    "cache": "0777",
                    "web/assets": "0777",
                    "web/storage": "0777",
                    "web/admin/assets": "0777",
                    "api/runtime": "0777",
                    "backend/runtime": "0777",
                    "frontend/runtime": "0777",
                    "web/api/assets": "0777",
                    "wechat/runtime": "0777"
                }
            ]
        }
    }
}
