Awesome Open Source
Awesome Open Source

BlazingDocs PHP client

High-performance document generation API. Generate documents and reports from СSV, JSON, XML with 99,9% uptime and 24/7 monitoring.


Run this line from Terminal:

composer require blazingdocs/blazingdocs-php

Integration basics


You can get your API Key at

$client = new \BlazingDocs\BlazingClient('API-KEY');

Getting account info

$account = $client->getAccount();

Getting merge templates list

$templates = $client->getTemplates();

Getting usage info

$usage = $client->getUsage();

Executing merge

$client = new \BlazingDocs\BlazingClient('API-KEY');
$parameters = new \BlazingDocs\Parameters\MergeParameters();

$jsonFile = file_get_contents('PO-Template.json');
$streamFactory = Psr17FactoryDiscovery::findStreamFactory();

$content = $streamFactory->createStreamFromFile('PO-Template.docx', 'r');
$template = new \BlazingDocs\Utils\FormFile('PO-Template.docx', $content);

$data = $client->mergeWithFile($jsonFile, 'output.pdf', $parameters, $template);


See more details here

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Php (392,287
Api (22,020
Json (11,122
Template (7,758
Xml (3,778
Pdf (3,012
Csv (2,707
Docs (1,698
Document (772
Report (672
Docx (281
Related Projects