PHPackages                             kitpages/pdf-bundle - 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. kitpages/pdf-bundle

ActiveSymfony-bundle[PDF &amp; Document Generation](/categories/documents)

kitpages/pdf-bundle
===================

Symfony PdfBundle

23.6k1[1 PRs](https://github.com/kitpages/KitpagesPDFBundle/pulls)PHP

Since May 15Pushed 13y ago2 watchersCompare

[ Source](https://github.com/kitpages/KitpagesPDFBundle)[ Packagist](https://packagist.org/packages/kitpages/pdf-bundle)[ RSS](/packages/kitpages-pdf-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

KitpagesPDFBundle
=================

[](#kitpagespdfbundle)

Pdf: FPDF and FPDI simple wrapper for Symfony

Installation
============

[](#installation)

use composer update

add the new Bundle in app/appKernel.php

Use example
===========

[](#use-example)

use Kitpages\\PDFBundle\\lib\\PDF;

$pdf = new PDF(); $pagecount = $pdf-&gt;setSourceFile('oldPdf.pdf);

for($i = 1; $i &lt;= $pagecount; $i++){ $tplIdx = $pdf-&gt;importPage($i); $s = $pdf-&gt;getTemplatesize($tplIdx); $pdf-&gt;AddPage($s\['h'\] &gt; $s\['w'\] ? 'P' : 'L', array($s\['w'\], $s\['h'\]), true); // This gets it the right dimensions $pdf-&gt;useTemplate($tplIdx, 0, 0, 0, 0, true); $pdf-&gt;SetFont('Arial','',8); $pdf-&gt;SetTextColor(168,168,168); $pdf-&gt;SetY(20); $pdf-&gt;SetX(80); $pdf-&gt;Write(0, 'modify my pdf'); } $pdf-&gt;Output('newPdf.pdf, 'D');

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/95c1423b83010cc8afd1fc966d26cc6fc5d7fb5d000e5d7582adcd8392bd239c?d=identicon)[kitpages](/maintainers/kitpages)

![](https://www.gravatar.com/avatar/29afb9ecadc2fdf0c1a907edbdc048f9a63b7348935c37f9bc3f647a56dcd44a?d=identicon)[kitpagesSeb](/maintainers/kitpagesSeb)

### Embed Badge

![Health badge](/badges/kitpages-pdf-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/kitpages-pdf-bundle/health.svg)](https://phpackages.com/packages/kitpages-pdf-bundle)
```

###  Alternatives

[myokyawhtun/pdfmerger

PDFMerger for PHP (PHP 5 and up to PHP 7.1 Compatible)

251271.9k](/packages/myokyawhtun-pdfmerger)[enzim/tika-wrapper

This is a simple PHP Wrapper for Apache Tika (using the tika-app jar)

6021.4k](/packages/enzim-tika-wrapper)[davcpas1234/laravelpdfviewer

A Laravel Package for viewing PDF files or documents on Web App

2414.6k](/packages/davcpas1234-laravelpdfviewer)[tarfin-labs/easy-pdf

Makes pdf processing easy.

1720.3k](/packages/tarfin-labs-easy-pdf)[akeneo-labs/excel-connector-bundle

Akeneo PIM Excel connector bundle

166.4k](/packages/akeneo-labs-excel-connector-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
