The boilerplate for module for PrestaShop 1.5 - 1.7

v1.0.1 2023-02-21 19:49 UTC

This package is auto-updated.

Last update: 2025-04-22 00:46:28 UTC


README

The boilerplate for module for PrestaShop 1.5 - 1.7 which uses presta-expert/module-helper.

You can use it to start writing your modules quickly and easily while maintaining the correct directory structure.

Requirements

  • PHP >= 5.2.4
  • Prestashop 1.5 - 1.7

Installation

$ composer create-project presta-expert/module mycustommodule

Then you need to rename the file name_of_module.php to the name of your module, similarly change the name of class inside this file and you are ready to go.

class NameOfModule extends \PrestaExpert\Helper\AbstractModule

Note that your module extends \PrestaExpert\Prestashop\Helper\AbstractModule so you are able to use some helper methods that will make your code better, check README of presta-expert/module-helper for details.

More information about creating Prestashop modules you can find here:

Authors

License

The files in this archive are released under the MIT LICENSE.