😀Activate all plugins via CLI

possible to activate all plugins via CLI

Activate all plugins using one command

Make sure to refresh the plugin and then to use install

bin/console plugin:refresh
bin/console plugin:install -a -n ""

Activate multiple plugin one by one

// plugin to activate one by one 
php bin/console plugin:activate TestPlugin OtherTestPlugin

The list of the most useful Shopware 6 commands

So now that we know, how to work with Console, here comes the list of the commands, commonly used during Shopware 6 plugin development:

Clear the cache
cache:clear

List all plugins

plugin:list

Create a plugin skeleton

plugin:create

Install plugin(s)

plugin:install

Uninstall plugin(s)

plugin:uninstall

Activate plugin(s)

plugin:activate

Deactivate plugin(s)

plugin:deactivate

Update plugin(s)

plugin:update

Create a theme skeleton

theme:create

Compile the theme

theme:compile

Create an admin user

user:create

List available services

debug:container

If you want to see the parameters, that these commands accept, you can safely run them with -h, without really doing anything

php bin/console plugin:create -h

Now follows some additional information on the fore mentioned commands, that you might find useful.

Last updated