About
Example module showing how to implement Symfony console command. For more info check Symfony docs https://symfony.com/doc/current/console.
Supported PrestaShop versions
PrestaShop 9.0.0 and later
Requirements
- Composer, see Composer to learn more
How to install
- Download or clone module into
modulesdirectory of your PrestaShop installation - Rename the directory to make sure that module directory is named
democonsolecommand* cdinto module's directory and run following commands:composer install- to download dependencies into vendor folder
- Install module:
- from Back Office in Module Manager
- using the command
php ./bin/console prestashop:module install democonsolecommand
* Because the name of the directory and the name of the main module file must match.
How to use the module?
Run php bin/console demo:list-manufacturers from PrestaShop root directory to see the output
