PHP code example of ultiweb-nl / factuursturen-php-client

1. Go to this page and download the library: Download ultiweb-nl/factuursturen-php-client 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/ */

    

ultiweb-nl / factuursturen-php-client example snippets


$factuurSturen = new \UltiwebNL\FactuurSturenPhpClient\FactuurSturen();
$factuurSturen->setUsername($username);
$factuurSturen->setPassword($password);

$invoices = $factuurSturen->invoices()->all();

$invoice = $factuurSturen->invoices()->find(1234);

$invoice = $factuurSturen->invoices();

$invoice->company_name = 'Company name';

$invoice->save();

composer