2017 © Pedro Peláez
 

library pdfunite

A php wrapper for pdfunite

image

koerel/pdfunite

A php wrapper for pdfunite

  • Sunday, November 12, 2017
  • by koerel
  • Repository
  • 1 Watchers
  • 0 Stars
  • 799 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 76 % Grown

The README.md

A PHP wrapper for pdfunite

StyleCI, (*1)

Build Status, (*2)

pdfunite is part of the poppler PDF library. It is a command-line tool use to join PDF files. This library provides a PHP wrapper around pdfunite., (*3)

Installation

run composer require koerel/pdfunite, (*4)

Usage

The join method accepts any number of input files, the last parameter is the output file., (*5)

$unite = new Koerel\PdfUnite\PdfUnite();
$unite->join('file1.pdf', 'file2.pdf', 'output.pdf');

If the pdfunite-binary is not in the $PATH you can pass it's path to the constructor., (*6)

$unite = new Koerel\PdfUnite\PdfUnite('path/to/pdfunite');
$unite->join('file1.pdf', 'file2.pdf', 'output.pdf');

To get the result as a string you can chain the output() method, (*7)

$unite = new Koerel\PdfUnite\PdfUnite();
$pdfData = $unite->join('file1.pdf', 'file2.pdf', 'output.pdf')->output();

To download the resulting PDF, you can chain the download() method, (*8)

$unite = new Koerel\PdfUnite\PdfUnite();
$unite->join('file1.pdf', 'file2.pdf', 'output.pdf')->download();

The Versions

12/11 2017

dev-master

9999999-dev

A php wrapper for pdfunite

  Sources   Download

GPL-3.0+

The Requires

  • php >=7.1

 

The Development Requires

by Karel Eeckelaert

12/11 2017

0.1.3

0.1.3.0

A php wrapper for pdfunite

  Sources   Download

GPL-3.0+

The Requires

  • php >=7.1

 

The Development Requires

by Karel Eeckelaert

12/11 2017

dev-develop

dev-develop

A php wrapper for pdfunite

  Sources   Download

GPL-3.0+

The Requires

  • php >=7.1

 

The Development Requires

by Karel Eeckelaert

12/11 2017

0.1.2

0.1.2.0

A php wrapper for pdfunite

  Sources   Download

GPL-3.0+

The Requires

  • php >=7.1

 

The Development Requires

by Karel Eeckelaert

12/11 2017

0.1.1

0.1.1.0

A php wrapper for pdfunite

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.6

 

The Development Requires

by Karel Eeckelaert

12/11 2017

0.1.0

0.1.0.0

A php wrapper for pdfunite

  Sources   Download

The Requires

  • php >=5.6

 

The Development Requires

by Karel Eeckelaert

11/11 2017

0.0.2

0.0.2.0

A php wrapper for pdfunite

  Sources   Download

The Requires

  • php ^5.6

 

by Karel Eeckelaert

11/11 2017

0.0.1

0.0.1.0

A php wrapper for pdfunite

  Sources   Download

The Requires

  • php ^5.6

 

by Karel Eeckelaert