2017 © Pedro Peláez
 

library php-sdk

PaperBark SDK for PHP

image

paperbark/php-sdk

PaperBark SDK for PHP

  • Friday, June 16, 2017
  • by HetIsNiels
  • Repository
  • 4 Watchers
  • 1 Stars
  • 33 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 313 % Grown

The README.md

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., (*1)

Installation

The recommended way of installing the SDK is using Composer. Run this command:, (*2)

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., (*3)

The Versions

16/06 2017

dev-master

9999999-dev https://github.com/paperbark/paperbark-php-sdk

PaperBark SDK for PHP

  Sources   Download

CC BY 4.0

The Requires

  • php ^5.4|^7.0
  • ext-curl *
  • lib-curl *

 

sdk pdf paperbark