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

ActiveLibrary

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

Laravel package for FPDF.

v1.0.5(6y ago)0142MITPHP

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 yesterday

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 64% 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

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

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)

PHPackages © 2026

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