PHPackages                             canal-web/magento-pdf - 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. canal-web/magento-pdf

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

canal-web/magento-pdf
=====================

Generate pdf file for a provided url

098PHP

Since Jun 1Pushed 10y ago4 watchersCompare

[ Source](https://github.com/canal-web/Magento_PDF)[ Packagist](https://packagist.org/packages/canal-web/magento-pdf)[ RSS](/packages/canal-web-magento-pdf/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Magento PDF
===========

[](#magento-pdf)

Magento model that generates, saves and deletes PDF files from a provided url.

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

[](#installation)

`composer require canal-web/magento-pdf`

Generating a PDF and sending it as a file download
--------------------------------------------------

[](#generating-a-pdf-and-sending-it-as-a-file-download)

```
Mage::getModel('canalweb_pdf/pdf')->generatePdf($my_url);
```

By default, the pdf name is `pdf-*timestamp*.pdf`. The prefix may be overridden like this :

```
Mage::getModel('canalweb_pdf/pdf')->generatePdf($my_url, 'my-prefix-');
```

Generating a PDF and saving it
------------------------------

[](#generating-a-pdf-and-saving-it)

```
Mage::getModel('canalweb_pdf/pdf')->savePdf($my_url);
```

Deleting a PDF
--------------

[](#deleting-a-pdf)

```
Mage::getModel('canalweb_pdf/pdf')->deletePdf('pdf-name.pdf');
```

Customize rendered PDF
----------------------

[](#customize-rendered-pdf)

Add a `pdf.css` file in the css folder of your magento theme. E.g. `skin/frontend/myTheme/default/css/pdf.css`

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3c5fccfca3816fee908ef8d56ac5ad9bcdf4f7171286fdf387e1c6ca3496f03f?d=identicon)[Canalweb](/maintainers/Canalweb)

---

Top Contributors

[![Fwagra](https://avatars.githubusercontent.com/u/3933375?v=4)](https://github.com/Fwagra "Fwagra (17 commits)")

### Embed Badge

![Health badge](/badges/canal-web-magento-pdf/health.svg)

```
[![Health](https://phpackages.com/badges/canal-web-magento-pdf/health.svg)](https://phpackages.com/packages/canal-web-magento-pdf)
```

###  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)[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)
