PHPackages                             codilar/pdf-template - 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. codilar/pdf-template

ActiveMagento2-module[PDF &amp; Document Generation](/categories/documents)

codilar/pdf-template
====================

A module for adding HTML PDF templates to Magento

1.1.8(2y ago)21.4k↓33.3%1proprietaryPHP

Since Jun 23Pushed 2y ago2 watchersCompare

[ Source](https://github.com/Codilar/pdf-template)[ Packagist](https://packagist.org/packages/codilar/pdf-template)[ RSS](/packages/codilar-pdf-template/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (12)Used By (0)

HTML PDF Generator
------------------

[](#html-pdf-generator)

This module enables the Admin to easily modify the Invoice, Shipment, and other PDF templates using HTML, right from the Admin Panel!

### Installation

[](#installation)

`composer require codilar/pdf-template`

### Setup

[](#setup)

- Once the module is installed, go to `Stores` &gt; `Configuration` &gt; `Sales` &gt; `PDF Print-outs`and under the *Invoice* and *Shipment* section, set the *Use HTML PDF template* to Yes
- Go to `Content` &gt; `PDF Template` and choose either the `Invoice Template`, or `Shipment Template` whichever you want to edit
- Choose the store you want to edit for
- Modify the template (you can see the changes in real-time on the preview section
- Save, and we're done!

Now whenever a PDF is requested (in Admin panel, email, etc) Magento will use our newly designed HTML template to generate the PDF.

### Templating

[](#templating)

The module uses the [Handlebars](https://handlebarsjs.com/guide/) templating engine for designing the templates. For a tutorial on how to get started, head over to `Content` &gt; `PDF Template` &gt; `Tutorial` section.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

###  Release Activity

Cadence

Every ~1 days

Total

11

Last Release

1049d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a950d70b7071b0b11488a437d748f75629b81a4899d44efbd683797064e2f7af?d=identicon)[jayankaghosh](/maintainers/jayankaghosh)

---

Top Contributors

[![joy-codilar](https://avatars.githubusercontent.com/u/46239833?v=4)](https://github.com/joy-codilar "joy-codilar (13 commits)")

### Embed Badge

![Health badge](/badges/codilar-pdf-template/health.svg)

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

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k87.6M278](/packages/barryvdh-laravel-dompdf)[omaralalwi/gpdf

Custom PDF wrapper supporting Arabic language

15411.6k](/packages/omaralalwi-gpdf)

PHPackages © 2026

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