2017 © Pedro Pelรกez
 

library pdf

pdf: TCPDF and FPDI wrapper

image

k1low/pdf

pdf: TCPDF and FPDI wrapper

  • Wednesday, November 2, 2016
  • by k1LoW
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

pdf: TCPDF and FPDI wrapper Build Status

Usage

<?php
use Pdf\Pdf;

$pdf = new Pdf();
$pdf->appendTTFfont('/path/to/ipag.ttf');
    ->read('/path/to/template.pdf')
    ->setValue('ใ‚ใ„ใ†ใˆใŠ', ['x' => 10, 'y' => 20])
    ->setValue('6ใƒšใƒผใ‚ธ็›ฎ', ['x' => 10, 'y' => 20, 'page' => 5])
    ->setValue('ใ‚ใ„ใ†ใˆใŠ', [
        'x' => 120,
        'y' => 45,
        'width' => 100,
        'height' => 230,
        'fontSize' => 24
    ])
    ->write('/path/to/output.pdf');

License

under MIT License, (*1)

The Versions

02/11 2016

dev-master

9999999-dev https://github.com/k1LoW/pdf

pdf: TCPDF and FPDI wrapper

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar k1LoW

pdf

02/11 2016

v2.0.1

2.0.1.0 https://github.com/k1LoW/pdf

TCPDF and FPDI simple wrapper

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar k1LoW

pdf

02/11 2016

v2.0.0

2.0.0.0 https://github.com/k1LoW/pdf

TCPDF and FPDI simple wrapper

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar k1LoW

pdf