Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 486 Bytes

README.md

File metadata and controls

28 lines (16 loc) · 486 Bytes

phppdftk

Unofficial PHP Wrapper for PdfTk Server toold.

Prerequists

Before starting work with this wrapper, you should download and install PdfTk server. https://www.pdflabs.com/tools/pdftk-server/

Usage

  1. Initiating PdfTk class

    // With Server Path

    $pdftk=new PdfTk($serverPath);

    //With Server Path and PDF File path

    $pdftk=new PdfTk($serverPath,$pdfFilePath);

  2. Get Bookmarks

    $bookmarks=$pdftk->get_bookmarks();