PHP code example of invoiceku-id / invoiceku-php-sdk

1. Go to this page and download the library: Download invoiceku-id/invoiceku-php-sdk 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/ */

    

invoiceku-id / invoiceku-php-sdk example snippets


composer 

$user = new \InvoicekuId\InvoicekuPhpSdk\Domains\Membership\Objects\User;

$user->myProfile();

$user = new \InvoicekuId\InvoicekuPhpSdk\Domains\Membership\Objects\User;

$user->getSettings();

(new \InvoicekuId\InvoicekuPhpSdk\Domains\Payment\Objects\PaymentGateway)->get();

(new \InvoicekuId\InvoicekuPhpSdk\Domains\Invoice\Objects\Product)->get();

(new \InvoicekuId\InvoicekuPhpSdk\Domains\Invoice\Objects\Customer)->get();

(new \InvoicekuId\InvoicekuPhpSdk\Domains\Invoice\Objects\Invoice)->get();