PHP code example of k0nias / fakturoid-api
1. Go to this page and download the library: Download k0nias/fakturoid-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/ */
k0nias / fakturoid-api example snippets
use K0nias\FakturoidApi\Api;
use K0nias\FakturoidApi\Http\Request\GetInvoicesRequest;
use K0nias\FakturoidApi\Model\Invoice\Filter\Parameters;
use K0nias\FakturoidApi\Model\Invoice\Status;
us::open())
->page(2);
// generic version of getting response for request
// @var \K0nias\FakturoidApi\Http\Response\ResponseInterface $response
$response = $api->process(new GetInvoicesRequest($filterParameters));
// more specific version of getting response for request
// @var \K0nias\FakturoidApi\Http\Response\GetInvoicesResponse $response
$response = (new GetInvoicesRequest($filterParameters))->send($api);