A PHP library for low level access of PDF files

SetaPDF-Core Access PDF documents at their lowest level with PHP

Demos

Here you'll see some demonstrations of the SetaPDF-Core component features. All demos will show you the PHP code that was used to create the output.

Page Count

Get the page count from a PDF document with PHP.

Rotate Pages

Rotate PDF pages using PHP.

Read Metadata

This PHP demo shows you how to read metadata from a PDF document.

Set Metadata

A PHP demo that shows how to set some metadata in an existing PDF document.

Bookmark Outline

Access the bookmark outline of PDF files in PHP

Replace link targets

Dynamically replace links in existing PDF files with PHP.

Find form field coordinates and values

A PHP demo to get all widget annotations and grab their names, rect and field values in PDF documents

Add Text Annotations

This demo shows how to add text annotations to PDF documents using PHP

Get Font Information

A PHP demo that shows how to get font information and analyse the declared font objects in a PDF document at its most basic level

Get Colors From PDF

A demo to have Low level access to resolve color and color space Information from PDF documents in pure PHP.

Access a page in a 50000 pages document

Not possible? Sure, including caching! A demo to show how to handle very big PDF files with PHP

Standard Security

Specify user rights and add password protection.

Public-key Security

PDF Public-key encryption in pure PHP.

Scale and Pad

Scale existing PDF doucments including annotations.

Extract Comments

Extract comments and states from a PDF document.

Get image sizes and resolutions

Get images position, size and resolution from PDF documents with PHP.

Check For Text

Check for text on pages in a pdf document.

Tile a Page

Tile a PDF page into multiple pages.

Multiple Pages per Sheet

Place multiple pages per sheet.

Flatten Annotations

Flatten annotations to fixed page content.

Extract ZUGFeRD XML

Extract XML from ZUGFeRD conforming PDF documents.

Merge ZUGFeRD XML with PDF/A Document

Merge ZUGFeRD XML with an existing PDF/A document to get a ZUGFeRD conforming PDF.

...more demos

See more live demos in our demo package, which is shipped with the products.