2017 © Pedro Peláez
 

composer-plugin store-plugin-installer

Composer plugin that installs automaticlly defined plugins from store

image

shyim/store-plugin-installer

Composer plugin that installs automaticlly defined plugins from store

  • Tuesday, July 31, 2018
  • by shyim
  • Repository
  • 5 Watchers
  • 14 Stars
  • 30 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Install plugins from Store during composer install

Deprecated:

Use native composer repository https://packages.friendsofshopware.com/ instead, (*1)

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, (*2)

Example composer.json, (*3)

{
    "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``), (*4)

Install the composer plugin, (*5)

composer require shyim/store-plugin-installer

Aaaaaaaand the Plugins should be installed, (*6)

FAQ

BinariesException-14

Reasons can be:, (*7)

  • 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, (*8)

The Versions

31/07 2018

dev-master

9999999-dev

Composer plugin that installs automaticlly defined plugins from store

  Sources   Download

MIT

The Requires

 

25/07 2018

0.1.0

0.1.0.0

Composer plugin that installs automaticlly defined plugins from store

  Sources   Download

MIT

The Requires