2017 © Pedro Peláez
 

library tfpdf

PHP library to create hatted code

image

tanghao2018/tfpdf

PHP library to create hatted code

  • Wednesday, December 21, 2016
  • by tanghao2018
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

tfpdf

PHP 生成PDF文件, (*1)

只是简单的把tFPDF 1.2.4包装成composer规范, (*2)

用法

use tfpdf\Pdf;, (*3)

$pdfLibrary = new Pdf(); $pdfLibrary->AddPage();, (*4)

$pdfLibrary->image('http://img10.360buyimg.com/n0/g14/M02/00/05/rBEhVVKBuHAIAAAAAAHGc743SCcAAFhpwP9GxsAAcaL931.jpg', 10,10,30,46,'JPG');, (*5)

// Add a Unicode font (uses UTF-8) $pdfLibrary->AddFont('Yahei','','Monaco_Yahei.ttf',true); $pdfLibrary->SetFont('Yahei','',8);, (*6)

$pdfLibrary->Write(8, "中文测试"); $pdfLibrary->Output('abc.pdf','D');, (*7)

The Versions

21/12 2016

dev-master

9999999-dev

PHP library to create hatted code

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by t.hao

21/12 2016

1.2.4

1.2.4.0

PHP library to create hatted code

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by t.hao