2017 © Pedro Peláez
 

library htmltopdf

convert html to pdf,image

image

liushuangxi/htmltopdf

convert html to pdf,image

  • Sunday, April 16, 2017
  • by liushuangxi
  • Repository
  • 1 Watchers
  • 2 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

安装

composer require liushuangxi/htmltopdf -vvv

使用

require_once "vendor/autoload.php";

use Html\HtmlToPdf;
use Html\HtmlToImage;

$list = [
    'http://www.baidu.com'
];

//html转pdf
$dest = "/desk/test.pdf";

HtmlToPdf::generate($list, $dest);

//html转image
$dest = "/desk/test.png";

HtmlToImage::generate($list, $dest);

The Versions

16/04 2017

dev-master

9999999-dev

convert html to pdf,image

  Sources   Download

MIT

by 柳双喜

htmltoimage htmltopdf

16/04 2017

1.0

1.0.0.0

convert html to pdf,image

  Sources   Download

MIT

by 柳双喜

htmltoimage htmltopdf