PHPackages                             k10r/deployment - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. k10r/deployment

ActiveShopware-core-plugin[DevOps &amp; Deployment](/categories/devops)

k10r/deployment
===============

Adds some helpers for shopware-deployment

1.3.1(4y ago)1321.7k↓50%2[1 PRs](https://github.com/kellerkinderDE/K10rDeployment/pulls)MITPHP

Since Mar 14Pushed 4y ago3 watchersCompare

[ Source](https://github.com/kellerkinderDE/K10rDeployment)[ Packagist](https://packagist.org/packages/k10r/deployment)[ RSS](/packages/k10r-deployment/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (2)Versions (12)Used By (0)

K10rDeployment - Deployment helper plugin for Shopware 5
========================================================

[](#k10rdeployment---deployment-helper-plugin-for-shopware-5)

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

Usage
-----

[](#usage)

### Install with composer

[](#install-with-composer)

- Change to your root installation of Shopware
- Run command `composer require k10r/deployment`
- Make sure composer dependencies are installed during your deployment
- Activate the plugin during your deployment using the Shopware command line interface (`php bin/console sw:plugin:reinstall K10rDeployment`)

### Zip/Git installation

[](#zipgit-installation)

- Download the ZIP or clone this repository into your `engine/Shopware/Plugins/Local/Core/` folder.
- Activate the plugin during your deployment using the Shopware command line interface (`php bin/console sw:plugin:reinstall K10rDeployment`)
- You can now use any of the commands listed below

Commands
--------

[](#commands)

### Compile Theme

[](#compile-theme)

Compiles the theme for all shops.

- Usage: `php bin/console k10r:theme:compile`

### Deactivate a Plugin

[](#deactivate-a-plugin)

Deactivates a given plugin.

- Usage: `php bin/console k10r:plugin:deactivate `

### Install, Update and Activate a 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).

- Usage: `php bin/console k10r:plugin:install [--activate] `

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

### Update Shop Settings

[](#update-shop-settings)

Updates the settings of a subshop

- Usage/Example: `php bin/console k10r:store:update [--store 1] [--name
