paperbark / php-sdk
PaperBark SDK for PHP
dev-master
2017-06-16 13:21 UTC
Requires
- php: ^5.4|^7.0
- ext-curl: *
- lib-curl: *
This package is not auto-updated.
Last update: 2025-02-01 21:30:44 UTC
README
This repository contains the open source code for the PaperBark PHP Development Kit. For more information on how to use PaperBark or the PaperBark API please look at our Documentation repository.
Installation
The recommended way of installing the SDK is using Composer. Run this command:
composer require paperbark/php-sdk
Usage
// Create a new API instance (replace with your own API token) $api = new PaperBark\API('{token}'); // Convert HTML to PDF $pdf = new PaperBark\PDF(); $pdf->addPage('<strong>PaperBark PHP SDK</strong>'); echo $api->pdf($pdf);
License
Please see the license file for more information.