Skip to content

paperbark/php-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PaperBark

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.

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages