PHPackages                             lucasvscn/laravel-pdf-report - 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. lucasvscn/laravel-pdf-report

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

lucasvscn/laravel-pdf-report
============================

Blade components to build PDF reports.

1.0.0(4y ago)0166[2 PRs](https://github.com/lucasvscn/laravel-pdf-report/pulls)MITPHPPHP ^8.0.2

Since Feb 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/lucasvscn/laravel-pdf-report)[ Packagist](https://packagist.org/packages/lucasvscn/laravel-pdf-report)[ Docs](https://github.com/lucasvscn/laravel-pdf-reports)[ RSS](/packages/lucasvscn-laravel-pdf-report/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (6)Used By (0)

Laravel PDF Report
==================

[](#laravel-pdf-report)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a9c44fbada1143a0c389403c3c951bc5e17d56a62f1cc0796ac9fd7e6220e6e5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c756361737673636e2f6c61726176656c2d7064662d7265706f72742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lucasvscn/laravel-pdf-report)[![GitHub Tests Action Status](https://camo.githubusercontent.com/ae6701771de6a7e239c47e0a6650a5914aff1da912b80dd09f2a9f4c4404de9e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6c756361737673636e2f6c61726176656c2d7064662d7265706f72742f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/lucasvscn/laravel-pdf-report/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/4054f52c8597d862a63942de90e179740ce614d7ac820af908479e66728771a3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6c756361737673636e2f6c61726176656c2d7064662d7265706f72742f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/lucasvscn/laravel-pdf-report/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/086e23cb3c99545017cae6f6e7f0cd7acded4067fb816a104c0842435f9b7c7f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c756361737673636e2f6c61726176656c2d7064662d7265706f72742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lucasvscn/laravel-pdf-report)

Blade components to build PDF reports using [DOMPdf](https://github.com/dompdf/dompdf).

Install
-------

[](#install)

Download the package with Composer.

```
composer require lucasvscn/laravel-pdf-report
```

Then install command will copy the assets into your application's folder.

```
php artisan laravel-pdf-report:install
```

Compile your assets (optional).

```
npm run dev
```

Usage
-----

[](#usage)

Now you can use this blade components to build your layout.

```

        Report header

        Page

        Content for the 1st page.

        Content for the nth page...

```

Generate the PDF using [barryvdh/laravel-dompdf](https://github.com/barryvdh/laravel-dompdf) package.

```
    use Barryvdh\DomPDF\Facade\Pdf;

    $pdf = Pdf::loadView('pdf.report');
    return $pdf->stream();
```

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Every ~7 days

Total

3

Last Release

1545d ago

Major Versions

0.1.1 → 1.0.02022-02-17

PHP version history (2 changes)0.1.0PHP ^7.4|^8.0

1.0.0PHP ^8.0.2

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravelpdfreports

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lucasvscn-laravel-pdf-report/health.svg)

```
[![Health](https://phpackages.com/badges/lucasvscn-laravel-pdf-report/health.svg)](https://phpackages.com/packages/lucasvscn-laravel-pdf-report)
```

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

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

Snappy PDF/Image for Laravel

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

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

3542.7M5](/packages/elibyy-tcpdf-laravel)[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)
