Download the PHP package ntzrbtr/shopware-plugin-management without Composer
On this page you can find all versions of the php package ntzrbtr/shopware-plugin-management. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ntzrbtr/shopware-plugin-management
More information about ntzrbtr/shopware-plugin-management
Files in ntzrbtr/shopware-plugin-management
Package shopware-plugin-management
Short Description Tools for plugin management in Shopware 6
License MIT
Informations about the package shopware-plugin-management
Shopware plugin management
This package provides a simple way to manage your Shopware plugins. It can handle the installation, update and removal of plugins.
The package provides a new command netzarbeiter:plugin:manage
which can be used to manage your plugins. The command
takes a JSON file with plugins that should be active in your Shopware installation.
Usage
Options
--dry-run
Do not install or uninstall plugins, just show what would be done.
plugins.json
The command takes a JSON file with the following schema:
The command will install all plugins in that file, activate them if active
is true
and update them if update
is
true
and an update is available or if update
is set to "force"
(useful for local plugins).
The command will afterwards uninstall all plugins that are installed in your Shopware installation, but are not in the
plugins.json
file.
Automation
You can use the command in your CI/CD pipeline to automate the installation of plugins. To do so, you can add the
command as a post-update script to your composer.json
file:
Installation
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
Applications that don't use Symfony Flex
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles in the config/bundles.php
file of your project: