This library provides PHP integration for DocFalcon APIs.
We welcome feedback and issues you may spot while using it.
composer require docfalcon/docfalcon-sdk
DocFalcon has one very simple and intuitive API for PDF generation. This library is a very simple wrapper around an http client.
$businessCard = json_decode(file_get_contents('./samples/business_card.json'));
$client = new \GuzzleHttp\Client();
$docfalcon = new \DocFalcon\Client($client,'YOUR_APIKEY');
$response = $docfalcon->generate($businessCard, './business_card.pdf');
You can get more info about how to get an apikey or how to describe your document by looking at the docs.
BSD 3-Clause License
Copyright (c) 2017, DocFalcon