2017 © Pedro PelĂĄez
 

library pdf-client

PHP client for Axianet's PDF converter service

image

betrisey/pdf-client

PHP client for Axianet's PDF converter service

  • Friday, January 8, 2016
  • by betrisey
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

HTMLtoPDF Client

PHP client for Axianet's HTMLtoPDF service, (*1)

Installation

``` bash composer require betrisey/pdf-client, (*2)

## Usage
``` php
<?php
require_once 'vendor/autoload.php';
use Axianet\pdfConverter\pdfClient;

$pdf = new pdfClient([
    'url' => 'http://localhost/htmltopdf/',
    'authUrl' => 'http://localhost/htmltopdf/auth/token.php',
    'clientId' => '        ',
    'clientSecret' => '        '
]);

$pdf->fromFile('file.html');
$pdf->fromString('

Content

'); $pdf->fromUrl('google.com');

Send email

php $pdf->fromFile('file.html', 'samuel@axianet.ch', 'Suject', 'Content'); $pdf->fromFile('file.html', ['samuel@axianet.ch', 'info@axianet.ch'], 'Suject', 'Content');, (*3)

The Versions

08/01 2016

dev-master

9999999-dev

PHP client for Axianet's PDF converter service

  Sources   Download

by Samuel Bétrisey

html converter client pdf axianet

08/01 2016

1.1.0

1.1.0.0

PHP client for Axianet's PDF converter service

  Sources   Download

by Samuel Bétrisey

html converter client pdf axianet

04/12 2015

1.0.0

1.0.0.0

PHP client for Axianet's HTMLtoPDF service

  Sources   Download

by Samuel Bétrisey

html converter pdf htmltopdf