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

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

lighth7015/tcpdf-laravel
========================

Better tcpdf support for laravel 5

5.3.0(9y ago)014MITPHP

Since Feb 10Pushed 8y ago1 watchersCompare

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

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

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

[](#laravel-53-tcpdf)

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

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

[](#installation)

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

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

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 51.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

3596d ago

### Community

Maintainers

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

---

Top Contributors

[![lighth7015](https://avatars.githubusercontent.com/u/671336?v=4)](https://github.com/lighth7015 "lighth7015 (15 commits)")[![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/lighth7015-tcpdf-laravel/health.svg)

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

###  Alternatives

[elibyy/tcpdf-laravel

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

3542.9M7](/packages/elibyy-tcpdf-laravel)[tarfin-labs/easy-pdf

Makes pdf processing easy.

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

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

8725.8k](/packages/maxxscho-laravel-tcpdf)[rockett/weasyprint

A feature-rich WeasyPrint wrapper for generating PDFs from HTML and CSS, with support for PDF/A, PDF/UA, attachments, and optional Laravel integration.

29217.1k](/packages/rockett-weasyprint)

PHPackages © 2026

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