PHPackages                             japhom/fpdf-laravel - 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. japhom/fpdf-laravel

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

japhom/fpdf-laravel
===================

Laravel package for FPDF.

v1.0.5(6y ago)0142MITPHPCI failing

Since Sep 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/japhom/jma-fpdf)[ Packagist](https://packagist.org/packages/japhom/fpdf-laravel)[ RSS](/packages/japhom-fpdf-laravel/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (5)Versions (7)Used By (0)

Esto es parte del trabakp de

Se agrega encriptado del PDF con contrseña Proteccion para impresion, apertura, anotaciones Lectura de Fuentes externao diferente a fnt/ Otras funciones simples como getPage, getOrientation,setOrientation

FPDF - Laravel
==============

[](#fpdf---laravel)

A package for Laravel to implement the FPDF class.

FPDF Official Website: [www.fpdf.org](http://www.fpdf.org/)

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

[](#installation)

### Step 1: Composer

[](#step-1-composer)

From the command line, run:

```
composer require japhom/fpdf-laravel

```

### Step 2: Service Provider

[](#step-2-service-provider)

For your Laravel app, open `config/app.php` and, within the `providers` array, append:

```
Japhom\Fpdf\FpdfServiceProvider::class

```

This will bootstrap the package into Laravel.

Usage
-----

[](#usage)

We can resolve the FPDF class instance out of the container:

```
$pdf = app('Fpdf');

```

We can also instantiate it directly:

```
$pdf = new \Japhom\Fpdf\Fpdf;

```

FPDF Documentation
------------------

[](#fpdf-documentation)

For documentation manual and tutorials, please visit [www.fpdf.org](http://www.fpdf.org/)

Example
-------

[](#example)

Create a 'Hello World' PDF document and save it to a file in the storage folder:

```
use Illuminate\Support\Facades\Storage;

//create pdf document
$pdf = app('Fpdf');
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->SetProtection(array('print', 'annot-forms'),"","password");

//save file
Storage::put($pdf->Output('S'));

```

Contribution
------------

[](#contribution)

License
-------

[](#license)

The package is free software distributed under the terms of the MIT license. FPDF is a free PHP class, you may use it for any kind of usage and modify it to suit your needs.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 58.6% 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 ~267 days

Recently: every ~334 days

Total

6

Last Release

2242d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/31970031?v=4)[Japhet](/maintainers/japhom)[@japhom](https://github.com/japhom)

---

Top Contributors

[![japhom](https://avatars.githubusercontent.com/u/31970031?v=4)](https://github.com/japhom "japhom (17 commits)")[![crabbly](https://avatars.githubusercontent.com/u/16927940?v=4)](https://github.com/crabbly "crabbly (10 commits)")[![AndrewMast](https://avatars.githubusercontent.com/u/13026511?v=4)](https://github.com/AndrewMast "AndrewMast (2 commits)")

---

Tags

laravelfpdf

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/japhom-fpdf-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/japhom-fpdf-laravel/health.svg)](https://phpackages.com/packages/japhom-fpdf-laravel)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.5M2](/packages/glushkovds-phpclickhouse-laravel)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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