Skip to content

AndersonMamede/merge-pdf-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Merge PDF files

This project is a simple example on how to merge PDF files together using tcpdf and FPDI libraries.

Installation

Option 1 - Clone this repository:

git clone https://github.com/AndersonMamede/merge-pdf-files.git

Option 2 - or download the zip file: https://github.com/AndersonMamede/merge-pdf-files/archive/master.zip

Example

<?php
require_once("MergePdf.class.php");

MergePdf::merge(
    [
        "test/file-a.pdf",
        "test/file-b.pdf",
        "test/file-c.pdf",
        "test/file-d.pdf",
        "test/file-e.pdf"
    ],
    MergePdf::DESTINATION__DISK_INLINE
);

Releases

No releases published

Packages

No packages published

Languages