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

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

ghidev/fpdf
===========

A package which provides FPDF class functionality to Laravel 5

1.0.3(7y ago)01.1k3MITPHP

Since Feb 26Pushed 7y ago2 watchersCompare

[ Source](https://github.com/ghidev/fpdf)[ Packagist](https://packagist.org/packages/ghidev/fpdf)[ RSS](/packages/ghidev-fpdf/feed)WikiDiscussions master Synced today

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

FPDF
====

[](#fpdf)

ghidev/fpdf es una clase para la generación dinámica de documentos PDF en PHP. Además incluye las clases para crear tablas con multiceldas y realizar una rotación en torno a un centro determinado .

Instalación con [Composer](https://packagist.org/packages/ghidev/fpdf)
----------------------------------------------------------------------

[](#instalación-con-composer)

Si usas composer para administrar tus paquetes, puedes usar

```
$ composer require ghidev/fpdf:dev-master

```

o puedes incluir el siguiente codigo en tu archivo `composer.json`:

```
{
    "require": {
        "ghidev/fpdf": "dev-master"
    }
}
```

Después, ejecuta `composer update` para descargarlo.

Agrega los `service providers` a `app/config/app.php`, dentro del arreglo `providers`.

```
'providers' => array(
	// ...

    Ghidev\Fpdf\FpdfServiceProvider::class,
    Ghidev\Fpdf\RotationServiceProvider::class,
    Ghidev\Fpdf\MC_TableServiceProvider::class,
)
```

Por último, agrega los `alias` a `app/config/app.php`, dentro del arreglo `aliases`.

```
'aliases' => array(
	// ...

	'Fpdf'      => Ghidev\Fpdf\Facades\Fpdf::class,
    'Rotation'    => Ghidev\Fpdf\Facades\Rotation::class,
    'MC_Table'  => Ghidev\Fpdf\Facades\MC_Table::class,
)
```

\##Código de Ejemplo

```
Route::get('pdf', function(){

    $fpdf = new Ghidev\Fpdf\Fpdf;
    $fpdf->AddPage();
    $fpdf->SetFont('Arial','B',16);
    $fpdf->Cell(40,10,'Hello World!');
    $fpdf->Output();
    exit;

});
```

\##Ó

```
Route::get('pdf', function(){

    Fpdf::AddPage();
    Fpdf::SetFont('Arial','B',16);
    Fpdf::Cell(40,10,'Hello World!');
    Fpdf::Output();
    exit;
});
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~372 days

Total

4

Last Release

2661d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/85a9133387a81f7bfc43b36a8d1f26e2866debd56f2f10fa9a1f9efa24cf4a9f?d=identicon)[ghidev](/maintainers/ghidev)

---

Top Contributors

[![ghidev](https://avatars.githubusercontent.com/u/17416421?v=4)](https://github.com/ghidev "ghidev (4 commits)")[![MissAllSunday](https://avatars.githubusercontent.com/u/3420756?v=4)](https://github.com/MissAllSunday "MissAllSunday (4 commits)")

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

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

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)

PHPackages © 2026

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