kellerkinderDE / K10rDeployment

MIT License
13 stars 2 forks source link

K10rDeployment - Deployment helper plugin for Shopware 5

K10rDeployment adds some helpful console commands for automatic deployments to Shopware 5.

Usage

Install with composer

Zip/Git installation

Commands

Compile Theme

Compiles the theme for all shops.

Deactivate a Plugin

Deactivates a given plugin.

Install, Update and Activate a Plugin

Installs a plugin and updates it, if necessary. This command does not fail, if the plugin is already installed (the default sw:plugin:install command fails).

Use the optional --activate option to activate the plugin after the installation.

Update Shop Settings

Updates the settings of a subshop

Parameters

Update Theme Options

Parameters

Check if a shopware update is necessary

Verifies if an update is needed for the application to be on a requested version. Return code 0 means an update is needed.

Update Configuration

Parameters

Arguments

Fetch Configuration

Retrieves the plugin configuration and display it inside the console.

Arguments

Example Response:

$ ./bin/console k10r:config:get PluginName
+---------------------+-----------------+------------+---------------+
| Config Eement       | Shop ID: 1      | Shop ID: 2 | Default Value |
+---------------------+-----------------+------------+---------------+
| Element Name        | Value           |            |               |
| Other Element       | Other Value     |            |               |
+---------------------+-----------------+------------+---------------+

Clear Cache

Clear specific caches like in backend performance modul

Options

License

MIT licensed, see LICENSE.md