PHPackages                             beverio/tcpdf-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. beverio/tcpdf-laravel

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

beverio/tcpdf-laravel
=====================

Better tcpdf support for laravel 5

5.3.0(9y ago)13012MITPHP

Since Feb 10Pushed 9y ago1 watchersCompare

[ Source](https://github.com/beverio/tcpdf-laravel)[ Packagist](https://packagist.org/packages/beverio/tcpdf-laravel)[ RSS](/packages/beverio-tcpdf-laravel/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (18)Used By (0)

Laravel 5.3 TCPDF
=================

[](#laravel-53-tcpdf)

Forked from: [elibyy/tcpdf-laravel](https://github.com/elibyy/tcpdf-laravel)

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

[](#installation)

### Step 1

[](#step-1)

Require package using `composer require beverio/tcpdf-laravel`

### Step 2

[](#step-2)

Add the service provider and aliases to `config/app.php`.

```
'providers' => [
    //...
    Elibyy\TCPDF\ServiceProvider::class,
]

//...

'aliases' => [
    //...
    'PDF' => Elibyy\TCPDF\Facades\TCPDF::class
]
```

Usage
-----

[](#usage)

Create a view in `resources/views/`. You can use all TCPDF methods with the `PDF` facade.

```
```

Close each view with

```
PDF::Show();
```

In your controller use

```
return PDF::inline('path.to.view', compact('var1', 'var2'), 'OptionalFilename.pdf');
```

to show a PDF file inline, or

```
return PDF::save('path.to.view', compact('var1', 'var2'), 'OptionalFilename.pdf');
```

to force the user to download the file.

For a list of all available function take a look at the [TCPDF Documentation](http://www.tcpdf.org/doc/code/classTCPDF.html)

Configuration
-------------

[](#configuration)

Laravel-TCPDF comes with some basic configuration. If you want to override the defaults, you can publish the config, like so:

```
php artisan vendor:publish

```

Now access `config/tcpdf.php` to customize.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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 ~12 days

Recently: every ~32 days

Total

17

Last Release

3549d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f88c67f88ee0a2dc2bcd50fcc0ebec3897b0ddfa9abb4a3f175ba372d2b54ba1?d=identicon)[beverio](/maintainers/beverio)

---

Top Contributors

[![elibyy](https://avatars.githubusercontent.com/u/836551?v=4)](https://github.com/elibyy "elibyy (12 commits)")[![it-can](https://avatars.githubusercontent.com/u/644288?v=4)](https://github.com/it-can "it-can (2 commits)")

---

Tags

laravelpdfTCPDF

### Embed Badge

![Health badge](/badges/beverio-tcpdf-laravel/health.svg)

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

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k87.6M278](/packages/barryvdh-laravel-dompdf)[elibyy/tcpdf-laravel

tcpdf support for Laravel 6, 7, 8, 9, 10, 11

3542.7M5](/packages/elibyy-tcpdf-laravel)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[maxxscho/laravel-tcpdf

A simple Laravel 4 service provider with some basic configuration for including the TCPDF library

8725.7k](/packages/maxxscho-laravel-tcpdf)[tarfin-labs/easy-pdf

Makes pdf processing easy.

1718.3k](/packages/tarfin-labs-easy-pdf)[lucasromanojf/laravel5-pdf

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

1271.8k](/packages/lucasromanojf-laravel5-pdf)

PHPackages © 2026

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