Skip to content
Tool for uploading new plugin releases to Shopware Store
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
examples/api Generate new structs May 17, 2019
src Fix zip plugin in same folder Sep 18, 2019
tests Update composer.json May 21, 2019
.env.example added dotenv check and .env.example Apr 3, 2019
.gitignore Add some tests May 19, 2019
.php_cs.dist
.travis.yml Minimize phar size May 20, 2019
README.md Add plugin:zip:dir command May 19, 2019
box.json Added phar support Jan 4, 2019
composer.json Add some tests May 19, 2019
phpunit.xml.dist Add some tests May 19, 2019

README.md

FroshPluginUploader

Tool for uploading new plugin releases to Shopware Store

This Tool works only for the new plugin system or Shopware Platform

Required Enviroment variables

Name Default Description
PLUGIN_ID Plugin ID from account.shopware.com. Can be obtained from the link
ACCOUNT_USER Shopware ID
ACCOUNT_PASSWORD Shopware ID password

Requirements for Plugin

Using the Commands

plugin:upload

Will upload the zip to the store and triggers a code review. Plugin version can be deployed multiple times. It will be updated then

Valid arguments are:

pathToZip - path to the zip file

Valid options are:

--skipCodeReviewResult - Skip waiting for Code-Review Result

plugin:update

Will update some informations about the plugin like description and images

Valid arguments are:

path - path to the /Resources/store

For more Information about the Resources/store folder checkout this

plugin:validate

Will check the plugin for validation exceptions for Code Review

Valid arguments are:

pathToZip - path to the zip file

plugin:list

Shows all plugins in the account with the id, name, latest version and last changed.

plugin:download:resources

Downloads all store resources from store to the given folder

plugin:zip:dir

Allows to zip the git repository of the plugin

gitPath - path to the git repository
branch - Optional: will detect the latest tag, otherwise will use master

A .sw-zip-blacklist file can be used to define which files should be deleted before creating the zip

FAQ

Exception-Codes

You can’t perform that action at this time.