PHPackages                             sogevia/fpdi - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. sogevia/fpdi

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

sogevia/fpdi
============

FPDI is a collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF.

1.5.3(11y ago)05651Apache-2.0PHP

Since May 8Pushed 11y ago3 watchersCompare

[ Source](https://github.com/SOGEVIA/FPDI)[ Packagist](https://packagist.org/packages/sogevia/fpdi)[ Docs](https://www.setasign.com/fpdi)[ RSS](/packages/sogevia-fpdi/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

FPDI - Free PDF Document Importer
=================================

[](#fpdi---free-pdf-document-importer)

[![Latest Stable Version](https://camo.githubusercontent.com/635d5b4af3457b6e3fa033ba41e975cbec76afdc040c77fe51e9a19a1e0da928/68747470733a2f2f706f7365722e707567782e6f72672f736574617369676e2f667064692f762f737461626c652e737667)](https://packagist.org/packages/setasign/fpdi) [![Total Downloads](https://camo.githubusercontent.com/271d24fd692fd29488b988bde5f6a04a74e5eb5ffca459b1081de1563fbaff9e/68747470733a2f2f706f7365722e707567782e6f72672f736574617369676e2f667064692f646f776e6c6f6164732e737667)](https://packagist.org/packages/setasign/fpdi) [![Latest Unstable Version](https://camo.githubusercontent.com/2b6b7ad5a8d6ea4cfd2eb3711cac3a7895fab76c04516a784c950a0d90856139/68747470733a2f2f706f7365722e707567782e6f72672f736574617369676e2f667064692f762f756e737461626c652e737667)](https://packagist.org/packages/setasign/fpdi) [![License](https://camo.githubusercontent.com/dea236f29bff2256a9485dcbbf9384445e1d7cfa415d375141cd4f530cc17c11/68747470733a2f2f706f7365722e707567782e6f72672f736574617369676e2f667064692f6c6963656e73652e737667)](https://packagist.org/packages/setasign/fpdi)

A clone to [FPDI](https://www.setasign.com/fpdi)

FPDI is a collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF, which was developed by Olivier Plathey. Apart from a copy of FPDF, FPDI does not require any special PHP extensions.

As of version 1.2.1 FPDI can also be used with TCPDF.

Installation
------------

[](#installation)

Run the command:

```
$ composer require "setasign/fpdi"
```

Usage
-----

[](#usage)

The usage is very easy: open the document, put a page into a template, and use it like an image!

```
