Skip to content

stafes/php-html2pdf

Repository files navigation

php-html2pdf

Html to PDF Generate Batch for PHP.

Requirements

  • PHP >=5.6.32
  • Composer
  • php-gd

Usage

$ ./bin/html2pdf.sh --url="{url}" --save-path="{local or s3 upload path}" [--option="{mpdf options}"] [--dry-run]

# --url: Contents source URL (http:// or s3://)
# --save-path: Save path (local or s3://)
# --option: mpdf Library Options
# --dry-run: will not real save

Installation

$ cp .env.example .env
$ composer install

About

Html to PDF Generate Batch for PHP.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •