raffaelecarelle / shopware-plugin-skeleton-generator
A tool to generate a standardized skeleton structure for developing Shopware plugins, enabling developers to quickly start and streamline the development process.
Installs: 50
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Type:shopware-platform-plugin
Requires
- roave/better-reflection: ^6.54
- shopware/administration: ~v6.6.0
- shopware/core: ~v6.6.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.64
- frosh/shopware-rector: ^0.5
- phpstan/extension-installer: ^1.4
- phpstan/phpstan-deprecation-rules: ^2.0.1
- phpstan/phpstan-phpunit: ^2.0.4
- phpstan/phpstan-strict-rules: ^2.0.3
- phpunit/phpunit: ^11.4.2
- shopwarelabs/phpstan-shopware: ^0.1.3
README
The Shopware Plugin Skeleton Generator is a powerful tool designed to streamline the development process for Shopware plugins. It quickly generates a clean, standardized skeleton structure for your plugin, providing essential files, directories, and configurations. This helps developers save time, maintain best practices, and focus on building custom functionality for Shopware-based eCommerce solutions. Whether you're a beginner or an experienced Shopware developer, this generator is an excellent starting point for your plugin projects.
Install and Activate
$ composer require --dev raffaelecarelle/shopware-plugin-skeleton-generator $ bin/console plugin:refresh $ bin/console plugin:install SkeletonGenerator --activate
Run Command
Generate new Shopware plugin
$ bin/console plugin:skeleton:generate Full\\\Qualified\\\PluginName
Generate new Static Shopware plugin
$ bin/console plugin:skeleton:generate Full\\\Qualified\\\PluginName --static
Generate new Headless Shopware plugin (without Storefront module)
$ bin/console plugin:skeleton:generate Full\\\Qualified\\\PluginName --headless
Add some additional bundle
$ bin/console plugin:skeleton:generate Full\\\Qualified\\\PluginName --additionalBundle=Core --additionalBundle=Administration
Update existing plugin with new additional bundle
$ bin/console plugin:skeleton:generate Full\\\Qualified\\\PluginName --append --additionalBundle=Core --additionalBundle=Administration
Create config file of the plugin (pluginDir/src/Resources/config/config.xml)
$ bin/console plugin:skeleton:generate Full\\\Qualified\\\PluginName --config