shyim/store-plugin-installer 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

shyim/store-plugin-installer

最新稳定版本:0.3.1

Composer 安装命令:

composer require shyim/store-plugin-installer

包简介

Composer plugin that installs automaticlly defined plugins from store

README 文档

README

Deprecated:

Use native composer repository https://packages.friendsofshopware.com/ instead

What do you need?

  • Shopware Composer Installation
  • Shopware Account Credentials
  • PHP 7.0 or higher
  • Normal Domain and not wildcard

Setup

Add the plugins in the extra section in your composer.json

Example composer.json

{
    "name": "shopware/composer-project",
    "description": "Project template for Shopware projects with composer",
    "type": "project",
    "license": "MIT",
    "authors": [
        {
            "name": "Shopware",
            "email": "info@shopware.com"
        }
    ],
    "autoload": {
        "classmap": [ "app/AppKernel.php" ]
    },
    "require": {
        "php": "^5.6.4||^7.0",
        "composer/installers": "^1.0",
        "shopware/shopware": "^5.4",
        "vlucas/phpdotenv": "~2.0 || ~3.3",
        "shyim/store-plugin-installer": "dev-master"
    },
    "extra": {
        "installer-paths": {
            "Plugins/Local/Backend/{$name}/": ["type:shopware-backend-plugin"],
            "Plugins/Local/Core/{$name}/": ["type:shopware-core-plugin"],
            "Plugins/Local/Frontend/{$name}/": ["type:shopware-frontend-plugin"]
        },
        "plugins": {
            "production": {
                "SwagPaymentPaypal": "3.4.5"
            }
        }
    },
    "include-path": [
        "engine/Library/"
    ],
    "config": {
        "optimize-autoloader": true,
        "process-timeout": 0
    },
    "scripts": {
        "post-root-package-install": [
           "./app/post-install.sh"
        ],
        "post-install-cmd": [
           "./app/post-install.sh"
        ],
        "post-update-cmd":[
           "./app/post-update.sh"
        ]
    }
}

Set following environment variables

  • ACCOUNT_USER (Shopware User)
  • ACCOUNT_PASSWORD (Shopware Password)
  • SW_STORE_PLUGIN_INSTALLER_SILENTFAIL (do not throw exceptions on errors / default: `false``)

Install the composer plugin

composer require shyim/store-plugin-installer

Aaaaaaaand the Plugins should be installed

FAQ

BinariesException-14

Reasons can be:

  • You are not logged in
  • The SHOP_URL environment variable does not equal the from account

Versions

Versions can be a constraint or a exact version

统计信息

  • 总下载量: 27.74k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 36
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 36
  • Watchers: 10
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-07-19