prestaware / prestasdk
A simple and extendable library for developing PrestaShop modules
Installs: 32
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
pkg:composer/prestaware/prestasdk
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
PrestaSDKModulefor uniform module structure PrestaSDKFactoryfor 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\V071\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.