Use thisRepository for a starting point to start developing Shopware 6 Plugins.
For more Boilerplate Code look into my Plugin Boilerplate Repository.
The plugin is compatible with PHP version 7.4 and higher.
$ git clone git@github.com:brianvarskonst/shopware6-plugin.git ./custom/plugins
$ cd shopware6-plugin && rm -rf .git
bin/console plugin:refresh
bin/console plugin:install --activate Plugin
The composer install does not come with compiled javascript. You will have to build/compile your administration and storefront javascript.
In case you are using the production template, the command below should do the trick.
bin/build.sh
Building the javascript & css will still be needed.
bin/build.sh
Please help with code, love, shares, feedback and bug reporting.
The MIT License (MIT). Please see License File for more information.