You can easily uninstall module using composer and OXID eShop Composer Plugin will do the following steps before composer uninstalling module:
- Deactivate the module if it is already active
- Remove module configurations from shop configuration file and remove module classes from module chain
- Remove module source files
then composer will remove module from autoloader and rebuild the autoloader.
In order to remove module configurations from shop configuration, following command has been provided.
vendor/bin/oe-console oe:module:uninstall-configuration <module-id>
Note
This command is available from version 6.2.3.