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.10.0(2mo ago)0763↓70.4%MITPHPPHP ^8.3CI passing

Since Oct 7Pushed 1w 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 today

READMEChangelog (10)Dependencies (38)Versions (30)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

When the PDF adapter cannot reach your app via a signed URL (e.g. local development or isolated environments), set `use_html` to `true` in the adapter's config or via the corresponding env variable (`BROWSERLESS_USE_HTML`, `SCREENLY_USE_HTML`). This passes the rendered HTML directly to the API instead of a URL.

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

51

—

FairBetter than 95% of packages

Maintenance93

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 68.4% 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 ~59 days

Recently: every ~53 days

Total

23

Last Release

71d ago

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

v1.5.2PHP ^8.2

v1.10.0PHP ^8.3

### 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 (93 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (28 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

1.0k4.8M47](/packages/spatie-laravel-pdf)[elegantly/laravel-invoices

Store invoices safely in your Laravel application

23546.8k2](/packages/elegantly-laravel-invoices)[api-platform/laravel

API Platform support for Laravel

58171.8k14](/packages/api-platform-laravel)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[slimani/filament-media-manager

A media manager plugin for Filament.

126.9k](/packages/slimani-filament-media-manager)

PHPackages © 2026

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