Custom plugin version control?

Hello !

I’m new to Shopware, just trying out this promising framework.

I’ve installed Shopware with composer from the production template (composer create-project shopware/production:dev-flex). It’s running on a local (dockerized) env for testing/development purpose.

Now I’m trying to write my first plugin.

When I create the plugin skeleton (with the bin/console plugin:create -c command) the plugin code is generated under the /custom/plugins directory which is ignored by git.

What is the correct strategy for plugin development to ensure I can version my work on git and share it with co-workers for instance ?

Many thanks in advance,

Bruno

Hi,
project specific plugins belong in the directory „custom/static-plugins“ and must be required by composer.
Just move it!
You can read everything here:
Managing Dependencies - Require project plugins