Skip to content

Instantly share code, notes, and snippets.

View jonathanmaron's full-sized avatar

Jonathan Maron jonathanmaron

View GitHub Profile
array(165) {
[0]=>
string(7) "Aharoni"
[1]=>
string(7) "Aldhabi"
[2]=>
string(7) "Andalus"
[3]=>
string(11) "Angsana New"
[4]=>
<?php
use TxTextControl\ReportingCloud\ReportingCloud;
$reportingCloud = new ReportingCloud([
'api_key' => Helper::apiKey(),
]);
var_dump($reportingCloud->getFontList());
array(9) {
["version_number"]=>
int(468480)
["age"]=>
int(3)
["features"]=>
int(182173)
["ssl_version_number"]=>
int(0)
["version"]=>
string(63) "Merged test_template.tx was written to /tmp/test_document_0.pdf"
string(63) "Merged test_template.tx was written to /tmp/test_document_1.pdf"
string(63) "Merged test_template.tx was written to /tmp/test_document_2.pdf"
string(63) "Merged test_template.tx was written to /tmp/test_document_3.pdf"
string(63) "Merged test_template.tx was written to /tmp/test_document_4.pdf"
<?php
use TxTextControl\ReportingCloud\ReportingCloud;
$reportingCloud = new ReportingCloud([
'api_key' => Helper::apiKey(),
]);
$mergeData = [
0 => [
string(53) "Written converted document to /tmp/sample_invoice.pdf"
<?php
use TxTextControl\ReportingCloud\ReportingCloud;
$reportingCloud = new ReportingCloud([
'api_key' => Helper::apiKey(),
]);
$sourceFilename = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'sample_invoice.tx';
$destinationFilename = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'sample_invoice.pdf';
array(6) {
'serial_number' =>
string(13) "XX-0000000000"
'created_documents' =>
int(131)
'uploaded_templates' =>
int(2)
'max_documents' =>
int(10000000)
'max_templates' =>
<?php
use TxTextControl\ReportingCloud\ReportingCloud;
$reportingCloud = new ReportingCloud([
'api_key' => Helper::apiKey(),
]);
var_dump($reportingCloud->getAccountSettings());