PHP code example of gtx / openmage-webservice

1. Go to this page and download the library: Download gtx/openmage-webservice 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/ */

    

gtx / openmage-webservice example snippets


Mage::getModel('gtx_webservice/file')->download($fileUrl, $filePathForSave);