prestaware / prestasdk
A simple and extendable library for developing PrestaShop modules
0.5.0
2025-09-18 11:22 UTC
Requires
- php: >=7.4.0
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:
- Introduction & Quick Start
- Core Concepts
- Module Installation
- Admin Panel Development
- Data Management
- Advanced Topics
- Conclusion
Persian documentation is available in docs/fa/README.md.
For an example integration, see examples/module_integration.php
.