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

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

tonystore/fpdf-laravel
======================

Paquete para usar Libreria FPDF en Laravel

v1.0.0(4y ago)010MITPHPPHP ^7.2.5|^8.0

Since Aug 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/tony98ms/fpdf-laravel)[ Packagist](https://packagist.org/packages/tonystore/fpdf-laravel)[ RSS](/packages/tonystore-fpdf-laravel/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Laravel package for Fpdf
========================

[](#laravel-package-for-fpdf)

[![Latest Stable Version](https://camo.githubusercontent.com/7c18846743d22df709b5d59112d514c328b34e7ccea90f2782cd46dd7c05acaa/68747470733a2f2f706f7365722e707567782e6f72672f746f6e7973746f72652f667064662d6c61726176656c2f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/tonystore/fpdf-laravel)[![Total Downloads](https://camo.githubusercontent.com/37903ec31643fcfcbbe26a606ddb91d13ec9a63c68c9a550c2c39184ca117d9f/68747470733a2f2f706f7365722e707567782e6f72672f746f6e7973746f72652f667064662d6c61726176656c2f646f776e6c6f6164733f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/tonystore/fpdf-laravel)[![License](https://camo.githubusercontent.com/8b71822cbefd03d10edd317177d992a7d84718c9a0f06ff66972723c7cc00832/68747470733a2f2f706f7365722e707567782e6f72672f746f6e7973746f72652f667064662d6c61726176656c2f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/tonystore/fpdf-laravel)

This package uses [FPDF](http://www.fpdf.org/) and allows integration with [Laravel](https://laravel.com/), and is based on the [crabbly/fpdf-laravel](https://github.com/crabbly/fpdf-laravel) package, but with an updated version of [FPDF](http://www.fpdf.org/).

INSTALLATION VIA COMPOSER
-------------------------

[](#installation-via-composer)

### Step 1: Composer

[](#step-1-composer)

Run this command line in console.

```
composer require tonystore/fpdf-laravel
```

### Step 2: Service Provider

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

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

```
Tonystore\Fpdf\FpdfServiceProvider::class

```

Usage
-----

[](#usage)

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

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

```

OR

```
$pdf = new Fpdf();

```

Example
-------

[](#example)

Create a 'Hello World' PDF document and display it in the browser:

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

//create pdf document
$pdf = new Fpdf('P', 'mm', 'A4'); //Attributes assigned to the document.
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->Output(); // 'I' is the default output.
exit;
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

1730d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravelpdffpdf

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k87.6M278](/packages/barryvdh-laravel-dompdf)[lucasromanojf/laravel5-pdf

Provides the HTML2PDF functionality using the wkhtmltopdf library (Laravel 5)

1271.8k](/packages/lucasromanojf-laravel5-pdf)[initred/laravel-tabula

laravel-tabula is a tool for liberating data tables trapped inside PDF files for the Laravel framework.

1418.6k](/packages/initred-laravel-tabula)

PHPackages © 2026

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