PHP code example of imper86 / php-baselinker-api

1. Go to this page and download the library: Download imper86/php-baselinker-api 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/ */

    

imper86 / php-baselinker-api example snippets




use Imper86\PhpBaselinkerApi\BaselinkerApi;
use Imper86\PhpBaselinkerApi\Model\Orders\GetJournalList\GetJournalListRequest;
use Imper86\PhpBaselinkerApi\Model\ProductsStorage\GetProductsList\GetProductsListRequest;
use Imper86\PhpBaselinkerApi\Plugin\ErrorPlugin;

alList(new GetJournalListRequest(123456));

var_dump($journalResponse);