PHP code example of prestaware / prestasdk

1. Go to this page and download the library: Download prestaware/prestasdk library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

prestaware / prestasdk example snippets



use PrestaSDK\V072\PrestaSDKModule;

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