heptacom/shopware-heptacom-cli-tools

Development utility to support shopware 5 plugin development

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:shopware-plugin

1.0.0 2020-02-10 16:50 UTC

This package is auto-updated.

Last update: 2024-04-11 02:32:26 UTC


README

Development utility to support shopware 5 plugin development

Packagist Version PHP from Packagist Software License

GitHub code size in bytes GitHub issues GitHub forks GitHub stars GitHub watchers Packagist

GitHub contributors GitHub commit activity

The HeptacomCliTools are some custom commands for Shopware bundeled into a plugin. Right now it features a way to build custom made plugins into an upload-ready zip-file. Also a second command is under development to enable a similar build process for custom themes.

The goal of those commands is to speed up the build process of plugins and themes. However there are probably more commands to come that we find useful for developers.

Available Commands

ksk:plugin:dependencies <plugin>

This installs all dependencies of the plugin. Currently supported dependencies are composer packages.

ksk:plugin:validate <plugin>

This lints all php files. The plugin must follow the new plugin structure and has to be located in custom/plugins/. Also it has to have a valid plugin.xml file.

ksk:plugin:pack <plugin>

This creates a zip file of the given plugin. The plugin must follow the new plugin structure and has to be located in custom/plugins/. Also it has to have a valid plugin.xml file. The built zip file will be located in KskBuilds/plugins/.

ksk:plugin:build <plugin>

This installs all dependencies, lints all php files and creates a zip file of the given plugin. The plugin must follow the new plugin structure and has to be located in custom/plugins/. Also it has to have a valid plugin.xml file. The built zip file will be located in KskBuilds/plugins/.

Changes

View the CHANGELOG file attached to this project.

License

See LICENSE.md