This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use TxTextControl\ReportingCloud\Console\Helper; | |
| use TxTextControl\ReportingCloud\ReportingCloud; | |
| $reportingCloud = new ReportingCloud([ | |
| 'api_key' => Helper::apiKey(), | |
| ]); | |
| var_dump($reportingCloud->proofingCheck('Thiss is a testt', 'en_US.dic')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| array(165) { | |
| [0]=> | |
| string(7) "Aharoni" | |
| [1]=> | |
| string(7) "Aldhabi" | |
| [2]=> | |
| string(7) "Andalus" | |
| [3]=> | |
| string(11) "Angsana New" | |
| [4]=> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use TxTextControl\ReportingCloud\ReportingCloud; | |
| $reportingCloud = new ReportingCloud([ | |
| 'api_key' => Helper::apiKey(), | |
| ]); | |
| var_dump($reportingCloud->getFontList()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| array(9) { | |
| ["version_number"]=> | |
| int(468480) | |
| ["age"]=> | |
| int(3) | |
| ["features"]=> | |
| int(182173) | |
| ["ssl_version_number"]=> | |
| int(0) | |
| ["version"]=> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use TxTextControl\ReportingCloud\ReportingCloud; | |
| $reportingCloud = new ReportingCloud([ | |
| 'api_key' => Helper::apiKey(), | |
| ]); | |
| $mergeData = [ | |
| 0 => [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| string(53) "Written converted document to /tmp/sample_invoice.pdf" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| array(6) { | |
| 'serial_number' => | |
| string(13) "XX-0000000000" | |
| 'created_documents' => | |
| int(131) | |
| 'uploaded_templates' => | |
| int(2) | |
| 'max_documents' => | |
| int(10000000) | |
| 'max_templates' => |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use TxTextControl\ReportingCloud\ReportingCloud; | |
| $reportingCloud = new ReportingCloud([ | |
| 'api_key' => Helper::apiKey(), | |
| ]); | |
| var_dump($reportingCloud->getAccountSettings()); |