This sample module demonstrates how to register and run a custom Symfony console command from within a PrestaShop module. Created by Frédéric BENOIST as a developer training resource, it provides a minimal, working example of wiring a module command into the PrestaShop CLI console.
- Registers a custom console command (
fbsample_console:mycommand) accessible via php bin/console - Demonstrates the correct module structure for adding CLI commands
- Installable via the standard PrestaShop Back Office module manager
- Licensed under the Academic Free License (AFL 3.0)
This module is intended exclusively for PrestaShop developers who want to learn how to add console commands to a module. It is not a production-ready utility for live stores. Shell access and Composer are required for installation and use.
Comments (0)
Your review appreciation cannot be sent
Report comment
Report sent
Your report cannot be sent