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 2w 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 62% 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

3058d 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[shopware/platform

The Shopware e-commerce core

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

Shopware platform is the core for all Shopware ecommerce products.

585.4M526](/packages/shopware-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[horstoeko/zugferd

A library for creating and reading european electronic invoices

4275.2M26](/packages/horstoeko-zugferd)[contao/core-bundle

Contao Open Source CMS

1231.6M2.7k](/packages/contao-core-bundle)

PHPackages © 2026

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