Download the PHP package raffaelecarelle/shopware-plugin-skeleton-generator without Composer
On this page you can find all versions of the php package raffaelecarelle/shopware-plugin-skeleton-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download raffaelecarelle/shopware-plugin-skeleton-generator
More information about raffaelecarelle/shopware-plugin-skeleton-generator
Files in raffaelecarelle/shopware-plugin-skeleton-generator
Package shopware-plugin-skeleton-generator
Short Description A tool to generate a standardized skeleton structure for developing Shopware plugins, enabling developers to quickly start and streamline the development process.
License MIT
Informations about the package shopware-plugin-skeleton-generator
Shopware Plugin Skeleton Generator
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.
Installation
This tool is intended to be used as a development dependency in your Shopware project.
-
Require with Composer:
- Refresh, Install and Activate the plugin:
Usage
Generate a Plugin
The main command is plugin:skeleton:generate. It takes the fully qualified plugin name as an argument and has several options to customize the generated skeleton.
Arguments:
fullyQualifiedPluginName: (Required) The fully qualified class name for your plugin (e.g.,MyVendor\MyPlugin).
Options:
--static: Generate a static plugin.--headless: Generate a plugin compatible with headless projects (omits the Storefront module).--additionalBundle=<name>: Create an additional bundle for specific sections likeStorefront,Administration,Core, etc. Can be used multiple times.--append: Update an existing plugin by adding one or more bundles specified with--additionalBundle.--config: Generate aconfig.xmlfile for the plugin.
Examples
Generate a new basic plugin:
Generate a new static plugin:
Generate a new headless plugin:
Generate a plugin with additional bundles:
Add new bundles to an existing plugin:
Generate a plugin with a configuration file:
Development Commands
This project uses Docker and a Makefile to simplify the development workflow.
make setup: Builds the Docker containers and installs Composer dependencies. Run this first.make start: Starts the Docker containers in the background.make sh: Opens a shell (zsh) inside the PHP container.make composer-update: Runscomposer updateinside the container.make pre-commit: Runs all quality checks: Rector, CS-Fixer, PHPStan, and PHPUnit.make rector: Runs Rector to apply automated code refactoring.make cs-fix: Runs PHP-CS-Fixer to fix coding standards.make phpstan: Runs PHPStan for static analysis.make tests: Runs the PHPUnit test suite.
All versions of shopware-plugin-skeleton-generator with dependencies
shopware/administration Version ~v6.6.0
shopware/core Version ~v6.6.0