Download the PHP package ntzrbtr/shopware-custom-field-installer without Composer
On this page you can find all versions of the php package ntzrbtr/shopware-custom-field-installer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ntzrbtr/shopware-custom-field-installer
More information about ntzrbtr/shopware-custom-field-installer
Files in ntzrbtr/shopware-custom-field-installer
Package shopware-custom-field-installer
Short Description Custom field installer for Shopware 6
License MIT
Informations about the package shopware-custom-field-installer
Shopware custom field installer
This package provides a simple way to install and uninstall custom fields in your Shopware installation: it leverages the code in the Shopware core for app handling and makes it usable stand-alone.
The package provides a new command netzarbeiter:custom-fields:update
which updates the custom fields in your Shopware
installation. The command takes a XML file following the Manifest standard of Shopware apps as an input and updates the
database.
For more information on custom fields in apps, see https://developer.shopware.com/docs/guides/plugins/apps/custom-data/custom-fields.
Usage
As the core of the bundle is implemented inside a service, you could also use it without the command and e.g. integrate it into the installation process of your Shopware plugins:
XML file
The XML file provides must comply with the schema of the app system; that means, that you also need to provide a minimal
meta
section within the file.
Here's a minimalistic example:
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: