2017 © Pedro Peláez
 

library pdf-merge

PHP PDF Merger

image

jurosh/pdf-merge

PHP PDF Merger

  • Wednesday, October 12, 2016
  • by jurosh
  • Repository
  • 3 Watchers
  • 11 Stars
  • 21,355 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 7 Forks
  • 3 Open issues
  • 3 Versions
  • 8 % Grown

The README.md

PDF Merge for PHP

PDF Merge library for PHP., (*1)

Install with composer:, (*2)

composer require jurosh/pdf-merge, (*3)

Should add dependency:, (*4)

"jurosh/pdf-merge": "^2.0"

Highlights

Pdf merging with modes portrait/landscape., (*5)

Tested in Laravel4 & Laravel5 framework (but still can be used without any framework as standalone utility)., (*6)

Usage

// Autoload composer classses...

// and now we can use library
$pdf = new \Jurosh\PDFMerge\PDFMerger;

// add as many pdfs as you want
$pdf->addPDF('path/to/source/file.pdf', 'all', 'vertical')
  ->addPDF('path/to/source/file1.pdf', 'all')
  ->addPDF('path/to/source/file2.pdf', 'all', 'horizontal');

// call merge, output format `file`
$pdf->merge('file', 'path/to/export/dir/file.pdf');

That's it!, (*7)

Enjoy and leave star if you like it :), (*8)

The Versions

12/10 2016

dev-master

9999999-dev https://github.com/jurosh/php-pdf-merge

PHP PDF Merger

  Sources   Download

MIT

The Requires

 

merge pdf

04/08 2015

1.0.0

1.0.0.0 https://github.com/jurosh/php-pdf-merge

PHP PDF Merger

  Sources   Download

MIT

The Requires

 

merge pdf

07/12 2014

0.1.0

0.1.0.0 https://github.com/jurosh/php-pdf-merge

PHP PDF Merger

  Sources   Download

MIT

The Requires

 

merge pdf