PHP code example of fmarquesto / sap-sld-connector

1. Go to this page and download the library: Download fmarquesto/sap-sld-connector 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/ */

    

fmarquesto / sap-sld-connector example snippets


use App\SAPBusinessOneConnector;

// create de connector
$sapConnector = new SAPBusinessOneConnector('user','pass','db','host','port');

// make a login request
if($sapConnector->login()){
  echo "success login";
}else{
  echo "error while login in: {$sapConnector->getLoginErrorMsg()}";
}