PHPackages                             timbogdanov/bolt-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. timbogdanov/bolt-pdf

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

timbogdanov/bolt-pdf
====================

High-performance Laravel Blade-to-PDF package using headless Chrome

v1.0.7(1y ago)06PHPPHP &gt;=8.1

Since Mar 22Pushed 1y ago1 watchersCompare

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

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

⚡ Bolt PDF
==========

[](#-bolt-pdf)

**Blade-to-PDF rendering for Laravel 10/11/12+ using Headless Chrome — supports full CSS3, JS, modern layouts, headers, footers, watermarks, and more.**

> Built with 💪 performance, 🧠 modern standards, and 🖤 Laravel elegance.

---

✨ Features
----------

[](#-features)

- 🧾 Convert any **Blade view** to a high-fidelity PDF
- 🎨 Supports **modern CSS3**: flexbox, grid, custom fonts
- 🧠 Executes **JavaScript**: charts, animations, etc.
- 🧢 Add headers, footers, and watermark overlays
- 🧊 Save, stream, download, or cache PDFs
- 🔄 Supports **queued generation** for large documents
- 🔧 Fully configurable, extensible &amp; testable

---

🚀 Installation
--------------

[](#-installation)

```
composer require timbogdanov/bolt-pdf
If using Laravel  $invoice])
              ->format('A4')
              ->landscape()
              ->header('My Header')
              ->footer('Page ')
              ->watermark('CONFIDENTIAL')
              ->download('invoice.pdf');
Save to storage:
php
Copy
Edit
BoltPdf::view('pdf.report', $data)
       ->save('reports/weekly.pdf');
Queue generation (for large files):
php
Copy
Edit
GeneratePdfJob::dispatch('pdf.report', $data, 'reports/big.pdf');
📂 API Reference
Method	Description
view($blade, $data)	Load a Blade view
html($html)	Load raw HTML content
format('A4')	Set paper format
landscape()	Switch to landscape mode
timeout(30)	Set render timeout (in seconds)
header($html)	Add header HTML
footer($html)	Add footer HTML
watermark($text)	Add watermark text
stream($filename)	Stream PDF in browser
download($filename)	Force download of the PDF
save($path)	Save to local or cloud storage
output()	Return raw PDF content (binary)
🧪 Testing
bash
Copy
Edit
php artisan test
Or with PHPUnit:

bash
Copy
Edit
./vendor/bin/phpunit
🧩 Roadmap
 Headers & footers
 Watermark overlay
 Queued job support
 Blade directive: @pdf
 Caching support (->cache('key'))
 Chrome process pooling
🛡 Requirements
PHP 8.1+
Laravel 10/11/12+
Chrome or Chromium installed locally (/usr/bin/google-chrome or path in config)
❤️ Credits
Built by Tim Bogdanov.
Powered by chrome-php/chrome and the Laravel ecosystem.

📄 License
MIT © 2025

yaml
Copy
Edit

---

Let me know if you’d like a logo, docs site scaffold, or a publish-to-Packagist checklist!
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance48

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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 ~0 days

Total

7

Last Release

413d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d830abc9aced82c72a05d19e08e14a9c7cc7d318330b00464d737e19e843b09?d=identicon)[timbogdanov](/maintainers/timbogdanov)

---

Top Contributors

[![timbogdanov](https://avatars.githubusercontent.com/u/63133890?v=4)](https://github.com/timbogdanov "timbogdanov (1 commits)")

### Embed Badge

![Health badge](/badges/timbogdanov-bolt-pdf/health.svg)

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

###  Alternatives

[maatwebsite/excel

Supercharged Excel exports and imports in Laravel

12.7k144.3M709](/packages/maatwebsite-excel)[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

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

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[rap2hpoutre/fast-excel

Fast Excel import/export for Laravel

2.3k24.9M47](/packages/rap2hpoutre-fast-excel)[elibyy/tcpdf-laravel

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

3542.7M5](/packages/elibyy-tcpdf-laravel)[stevebauman/autodoc-facades

Auto-generate PHP doc annotations for Laravel facades

98186.6k9](/packages/stevebauman-autodoc-facades)

PHPackages © 2026

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