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 3w 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

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

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

[42coders/document-templates

Document template management package.

19940.0k](/packages/42coders-document-templates)[qipsius/tcpdf-bundle

A bundle to easily integrate TCPDF into Symfony

23749.5k](/packages/qipsius-tcpdf-bundle)[macopedia/magmi2

Magento Mass Importer 'Magmi' for Magento 2

11615.7k](/packages/macopedia-magmi2)[tarfin-labs/easy-pdf

Makes pdf processing easy.

1719.4k](/packages/tarfin-labs-easy-pdf)[ikkez/f3-sheet

Some Excel and CSV utilities for PHP Fat-Free Framework

1414.8k](/packages/ikkez-f3-sheet)[nilgems/laravel-textract

A Laravel package to extract text from files like DOC, XL, Image, Pdf and more. I've developed this package by inspiring "npm textract".

195.7k](/packages/nilgems-laravel-textract)

PHPackages © 2026

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