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 12y 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 today

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 35% 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

[phpoffice/phpspreadsheet

PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine

13.9k286.2M1.1k](/packages/phpoffice-phpspreadsheet)[dompdf/dompdf

DOMPDF is a CSS 2.1 compliant HTML to PDF converter

11.1k164.9M521](/packages/dompdf-dompdf)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k30.7M83](/packages/spatie-browsershot)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.6k32.8M186](/packages/smalot-pdfparser)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.2M46](/packages/barryvdh-laravel-snappy)[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.1k54.0M101](/packages/openspout-openspout)

PHPackages © 2026

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