prestaware/prestasdk

A simple and extendable library for developing PrestaShop modules

0.5.0 2025-09-18 11:22 UTC

This package is not auto-updated.

Last update: 2025-09-18 11:24:28 UTC


README

PrestaSDK is a simple and extendable library for developing PrestaShop modules.

Installation

Use Composer to add PrestaSDK to your PrestaShop module:

composer require prestaware/prestasdk

Features

  • Base PrestaSDKModule for uniform module structure
  • PrestaSDKFactory for loading installers, controllers and utilities
  • Utilities for configuration, asset publishing and admin panels

Usage

Extend PrestaSDKModule in your module and define its settings inside initModule.

<?php
use PrestaSDK\V050\PrestaSDKModule;

class MyModule extends PrestaSDKModule
{
    public function initModule()
    {
        $this->name = 'my_module';
        $this->version = '1.0.0';
    }
}

Documentation

The module development guide is split into chapters:

  1. Introduction & Quick Start
  2. Core Concepts
  3. Module Installation
  4. Admin Panel Development
  5. Data Management
  6. Advanced Topics
  7. Conclusion

Persian documentation is available in docs/fa/README.md.

For an example integration, see examples/module_integration.php.