PHPackages                             vianetz/magento1-pdfattachments - 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. vianetz/magento1-pdfattachments

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

vianetz/magento1-pdfattachments
===============================

A Magento 1 extension to attach PDF documents to emails.

1.0.2(6y ago)01.3k1GPL-3.0-or-later

Since Apr 16Pushed 6y ago1 watchersCompare

[ Source](https://github.com/vianetz/magento1-pdfattachments)[ Packagist](https://packagist.org/packages/vianetz/magento1-pdfattachments)[ RSS](/packages/vianetz-magento1-pdfattachments/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (1)

Vianetz PDF Attachments Extension
=================================

[](#vianetz-pdf-attachments-extension)

Facts
-----

[](#facts)

- version: 1.0.1

Description
-----------

[](#description)

This extension provides methods to attach documents to Magento emails, i.e. it does not have any configuration or does anything out of the box. You can use it to base your own Magento extensions on it.

Additionally the extensions introduces the following new events to hook into the email sending process:

- vianetz\_pdfattachments\_email\_template\_init
- vianetz\_pdfattachments\_email\_send\_before
- vianetz\_pdfattachments\_email\_send\_after

You can use the following helper method to attach any document to an email, e.g. in the *email\_send\_before* event:

```
Mage::helper('vianetz/pdfattachments')->addAttachmentToEmail(Mage_Core_Model_Email_Template $emailTemplate, $fileContents, $filename);
```

A sample implementation of the usage of this module can be found in our [Advanced Invoice Layout Extension for Magento](https://www.vianetz.com/advancedinvoicelayout).

Requirements
------------

[](#requirements)

- PHP &gt;= 5.3.6
- Magento &gt;= 1.6.x

Frequently Asked Questions
--------------------------

[](#frequently-asked-questions)

Please find the Frequently Asked Questions on our website [www.vianetz.com/en/faq](http://www.vianetz.com/en/faq).

Support
-------

[](#support)

If you have any issues or suggestions with this extension, please do not hesitate to contact me at  or .

Developer
---------

[](#developer)

Christoph Massmann [@vianetz](https://twitter.com/vianetz)

Licence
-------

[](#licence)

[GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.html)

See also LICENSE file.

Copyright
---------

[](#copyright)

(c) since 2008 vianetz

This Library uses Semantic Versioning - please find more information at .

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

2224d ago

### Community

Maintainers

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

---

Top Contributors

[![ma4nn](https://avatars.githubusercontent.com/u/26252058?v=4)](https://github.com/ma4nn "ma4nn (10 commits)")

---

Tags

magento-extensionmagento1magento1-moduleopenmagepdfpdfmagentovianetz

### Embed Badge

![Health badge](/badges/vianetz-magento1-pdfattachments/health.svg)

```
[![Health](https://phpackages.com/badges/vianetz-magento1-pdfattachments/health.svg)](https://phpackages.com/packages/vianetz-magento1-pdfattachments)
```

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k87.6M278](/packages/barryvdh-laravel-dompdf)[tecnickcom/tcpdf

TCPDF is a PHP class for generating PDF documents and barcodes.

4.5k101.8M473](/packages/tecnickcom-tcpdf)[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k77.1M493](/packages/mpdf-mpdf)[knplabs/knp-snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage.

4.5k68.3M56](/packages/knplabs-knp-snappy)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M102](/packages/spatie-browsershot)[smalot/pdfparser

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

2.7k34.5M216](/packages/smalot-pdfparser)

PHPackages © 2026

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