jengo / pdf
A modern, multi-driver PDF generation and document reporting package for CodeIgniter 4 and the Jengo ecosystem.
v0.1.3
2026-10-09 14:53 UTC
Requires
- php: ^8.5
- codeigniter4/framework: ^4.7
- dompdf/dompdf: ^3.0
- jengo/base: ^1.1
- jengo/queues: ^0.1
Requires (Dev)
- codeigniter4/devkit: ^1.3
- pestphp/pest: ^3.0
- pestphp/pest-plugin-type-coverage: ^3.0
- phpunit/phpunit: ^11.5
Suggests
- jengo/schema: Required for building automatic PDF reports directly from database schema models
Provides
None
Conflicts
None
Replaces
None
README
Jengo PDF
High-performance PDF builder and document generator (Dompdf & Chromium) with pre-built invoice templates, schema reports, and interactive browser preview.
Documentation • License • Issues
Installation
composer require jengo/pdf php spark jengo:install pdf
Quick Start
use Jengo\Pdf\Pdf; // 1. Fluent commercial invoice return Pdf::invoice('INV-2026-001') ->client(['name' => 'Acme Corp', 'email' => 'billing@acme.com']) ->addItem('Cloud Architecture Consulting', 1, 3500.00) ->tax(16.0) ->download('invoice-001.pdf'); // 2. Interactive in-browser preview canvas return Pdf::invoice('INV-2026-001')->preview(); // 3. Render raw HTML or CI4 view return Pdf::view('invoices/receipt', $data)->inline();
Documentation
For full guides on Dompdf vs Chromium drivers, 7 pre-built document builders, schema data reports, interactive preview canvas, vector QR/barcodes, and testing doubles, visit https://lipex-org.github.io/jengophp.com/packages/pdf.
License
Released under the MIT License.