PHPackages                             royopa/alphapdf - 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. royopa/alphapdf

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

royopa/alphapdf
===============

Unofficial git repo of Martin Hall-May's AlphaPDF FPDI extension

1.2(8y ago)01.4kPHP

Since Feb 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/royopa/alphapdf)[ Packagist](https://packagist.org/packages/royopa/alphapdf)[ RSS](/packages/royopa-alphapdf/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

AlphaPDF
========

[](#alphapdf)

[![Latest Stable Version](https://camo.githubusercontent.com/c69d25913294e68a669ad54d0fcac5a93e5095077bbe35c8e4ec196ea4b0421a/68747470733a2f2f706f7365722e707567782e6f72672f726f796f70612f616c7068617064662f762f737461626c65)](https://packagist.org/packages/royopa/alphapdf)[![Total Downloads](https://camo.githubusercontent.com/232d3bd1ed246fc1bdd2ea3a1cf1c348a782a9147475414e08b61d3a8e1f5af1/68747470733a2f2f706f7365722e707567782e6f72672f726f796f70612f616c7068617064662f646f776e6c6f616473)](https://packagist.org/packages/royopa/alphapdf)[![License](https://camo.githubusercontent.com/039edf7a7ed2e028f85e803c51eff2e9e3d5def754d5875eb2afcfb18f144998/68747470733a2f2f706f7365722e707567782e6f72672f726f796f70612f616c7068617064662f6c6963656e7365)](https://packagist.org/packages/royopa/alphapdf)[![Build Status](https://camo.githubusercontent.com/a5b5d1ef23663fb551fae423721ce86cac4ad2c94bb74eebc69afa957af2e4f5/68747470733a2f2f7472617669732d63692e6f72672f726f796f70612f616c7068617064662e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/royopa/alphapdf)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/9675b464772e6bd29a37f9167a5a0274435f318d5f81cf33843d63d0ef746b8b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f726f796f70612f616c7068617064662f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/royopa/alphapdf/?branch=master)

AlphaPDF is a PHP class which allows to generate watermarks on PDF files. This class uses the library [FPDI](https://packagist.org/packages/setasign/fpdi)

Install
-------

[](#install)

To install with composer:

```
composer require royopa/alphapdf
```

Example
-------

[](#example)

```
use Royopa\AlphaPDF\AlphaPDF;
use Royopa\AlphaPDF\WaterMark;
use Royopa\AlphaPDF\Fpdi;
```

Tests
-----

[](#tests)

From the project directory, tests can be ran using:

```
./vendor/bin/phpunit
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 95.2% 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 ~0 days

Total

3

Last Release

3012d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d40665a360eef88be50ddf2fad41317ab6378c4ef77a767f88050ab22bef402?d=identicon)[royopa](/maintainers/royopa)

---

Top Contributors

[![royopa](https://avatars.githubusercontent.com/u/442991?v=4)](https://github.com/royopa "royopa (20 commits)")[![nemoDreamer](https://avatars.githubusercontent.com/u/9303?v=4)](https://github.com/nemoDreamer "nemoDreamer (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/royopa-alphapdf/health.svg)

```
[![Health](https://phpackages.com/badges/royopa-alphapdf/health.svg)](https://phpackages.com/packages/royopa-alphapdf)
```

###  Alternatives

[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k77.1M493](/packages/mpdf-mpdf)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[webklex/laravel-pdfmerger

Generic PDF merger for Laravel

1422.6M2](/packages/webklex-laravel-pdfmerger)[creagia/laravel-sign-pad

Laravel package for of E-Signature with Signature Pad and Digital Certified Sign with TCPDF

54097.2k](/packages/creagia-laravel-sign-pad)[binarystash/pdf-watermarker

Watermark or stamp PDF documents

8260.6k](/packages/binarystash-pdf-watermarker)

PHPackages © 2026

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