PHP code example of aleahy / saasu-connect

1. Go to this page and download the library: Download aleahy/saasu-connect 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/ */

    

aleahy / saasu-connect example snippets


$client = SaasuAPI::createClient($username, $password);
$connection = new SaasuAPI($client, $fileID);

use Aleahy\SaasuConnect\Entities\Invoice as SaasuInvoice;

$connection->findEntity(SaasuInvoice::class, [
  'AmountOwed' => 490.0
]);