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

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

limenet/laravel-pdf
===================

Generate PDFs in Laravel with Puppeteer

v1.9.0(1mo ago)0687↓75%[1 PRs](https://github.com/limenet/laravel-pdf/pulls)MITPHPPHP ^8.2CI passing

Since Oct 7Pushed 1mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (26)Versions (29)Used By (0)

Generate PDFs in Laravel with Puppeteer
=======================================

[](#generate-pdfs-in-laravel-with-puppeteer)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f81bb92439d260f3285a08e7df8994f1f05130ac82d51628e44f5a1bfcac0e3e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c696d656e65742f6c61726176656c2d7064662e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/limenet/laravel-pdf)[![GitHub Tests Action Status](https://github.com/limenet/laravel-pdf/actions/workflows/run-tests.yml/badge.svg)](https://github.com/limenet/laravel-pdf/actions/workflows/run-tests.yml)[![Fix PHP code style issues](https://github.com/limenet/laravel-pdf/actions/workflows/fix-php-code-style-issues.yml/badge.svg)](https://github.com/limenet/laravel-pdf/actions/workflows/fix-php-code-style-issues.yml)[![PHPStan](https://github.com/limenet/laravel-pdf/actions/workflows/phpstan.yml/badge.svg)](https://github.com/limenet/laravel-pdf/actions/workflows/phpstan.yml)[![Total Downloads](https://camo.githubusercontent.com/1a1c5a79dd6fdef7d805ba617763105bdf4a3db03d549a5cbe1e4c15f50873fe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c696d656e65742f6c61726176656c2d7064662e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/limenet/laravel-pdf)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

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

[](#installation)

You can install the package via composer:

```
composer require limenet/laravel-pdf
```

And set up a scheduled task:

```
// app/Console/Kernel.php
$schedule->command(\Limenet\LaravelPdf\Commands\Cleanup::class)->hourly();
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-pdf-config"
```

Choose a strategy:

1. Puppeteer. Please also install the Node dependencies: ```
    npm i puppeteer fs-extra
    ```
2. Browserless.io

For local development, you may want to use the `browserless` strategy with `inline_assets` set to `true`.

Usage
-----

[](#usage)

```
use Limenet\LaravelPdf\Pdf;
return (new Pdf(
    view: 'hello-world',
))->response();
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Linus Metzler](https://github.com/limenet)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance91

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 67.5% 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 ~60 days

Recently: every ~66 days

Total

22

Last Release

48d ago

PHP version history (2 changes)v1.0.0PHP ^8.1

v1.5.2PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/60ffeab38b702282a7178b82152e912d8a5e934fe5cb63df272a9392f00b8f84?d=identicon)[limenet](/maintainers/limenet)

---

Top Contributors

[![limenet](https://avatars.githubusercontent.com/u/474329?v=4)](https://github.com/limenet "limenet (85 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (26 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (15 commits)")

---

Tags

laravelLaravel pdflimenet

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

9963.4M12](/packages/spatie-laravel-pdf)[bfinlay/laravel-excel-seeder

Seed the database with Laravel using Excel, XLSX, XLS, CSV, ODS, Gnumeric, XML, HTML, SLK files

3944.4k](/packages/bfinlay-laravel-excel-seeder)[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)
