Notice: You are browsing the documentation for PrestaShop 8, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 1.7.



  • Path: src/PrestaShopBundle/Command/ModuleCommand.php
  • Arguments:
    • action: Action to execute, must be one of: install, uninstall, enable, disable, enableMobile, disableMobile, reset, upgrade, configure, registerHook, unregisterHook
    • module name: Module on which the action will be executed
    • file path: YML file path for configuration (optional)
  • Options:
    • hook: Hook name to use with the registerHook|unregisterHook action (array|optional)


This command aims to manage your modules via command line.