PHPackages                             japseyz/pdf-renderer - 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. japseyz/pdf-renderer

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

japseyz/pdf-renderer
====================

PDF Renderer

1.2.2(3mo ago)01.9k↑150%MITPHPPHP ^8.1CI failing

Since Mar 18Pushed 3mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (4)Versions (18)Used By (0)

PDF Renderer
============

[](#pdf-renderer)

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

[](#installation)

You can install the package via composer:

```
composer require japseyz/pdf-renderer
```

You can publish the config file with:

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

This is the contents of the published config file:

```
return [
    // Possible values are:
    // 'browsershot', 'api2pdf'
    'service' => 'browsershot'
];
```

Usage
-----

[](#usage)

```
 $renderer = PDFRenderer::view(
    'documents.invoice',
    [
        'client'          => $client,
    ]
);

return response($renderer->render(), 200, [
    'Content-Type'        => 'application/pdf',
    'Content-Disposition' => 'attachment; filename="invoice.pdf"',
]);
```

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)

- [Jesper Jacobsen](https://github.com/JapSeyz)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance83

Actively maintained with recent releases

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 86.2% 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 ~64 days

Recently: every ~114 days

Total

17

Last Release

116d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/33ad5acc22761cefe15f2c62d8d7d1f22b1faea6bd118f8dbc71ee753ff32b92?d=identicon)[JapSeyz](/maintainers/JapSeyz)

---

Top Contributors

[![JapSeyz](https://avatars.githubusercontent.com/u/2234034?v=4)](https://github.com/JapSeyz "JapSeyz (25 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")

---

Tags

laravelJapSeyzpdf-renderer

### Embed Badge

![Health badge](/badges/japseyz-pdf-renderer/health.svg)

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

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

9963.4M11](/packages/spatie-laravel-pdf)[pxlrbt/laravel-pdfable

This is my package laravel-pdfable

751.2k](/packages/pxlrbt-laravel-pdfable)[samuelterra22/laravel-report-generator

Rapidly Generate Simple Pdf, Excel &amp; CSV Reports on Laravel (Using Barryvdh/DomPdf or Barryvdh/laravel-snappy &amp; maatwebsite/excel)

125.3k](/packages/samuelterra22-laravel-report-generator)

PHPackages © 2026

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