No image available

Sample console command Module

A developer training sample showing how to register and execute a custom Symfony console command within a PrestaShop module using php bin/console.

Developed by Frederic BENOIST

Get This Module Free on GitHub
License: Unknown Status: Unknown Health: Very Outdated

Info updated 1 month ago

Sources
Stars: 11 Forks: 2 Last commit: Jun 23, 2022
Type
Module

Info checked: Mar 2, 2026

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.

  • Reference
    fbsample_console

  • License
    Unknown
  • Status
    Unknown

Comments (0)

No customer reviews for the moment.
Loading...