Download the PHP package sglms/pdf without Composer
On this page you can find all versions of the php package sglms/pdf. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package pdf
SGLMS PDF
Simple Laravel wrapper around mPDF with a fluent API for rendering Blade views, attaching headers/footers, and signing documents.
Requirements
- PHP >= 8.3
- Laravel 12
- mPDF 8.2+
Installation
Laravel package discovery registers the service provider and facade automatically.
Quick Start
Usage
Initialize with configuration
Render one or multiple views
Add logo for header/footer views
The logo is available in mPDF templates as var:logo.
If your header or footer uses the logo, call logo() before header() / footer().
Add signature block
Sign existing PDF
Output options
Access underlying mPDF instance
Controller Example
Notes
- mPDF applies headers/footers from the point they are set. Set header/footer before the first rendered body view when possible.
- This package is intentionally lightweight and optimized for straightforward document-generation workflows.
License
MIT
All versions of pdf with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.3
illuminate/support Version ^12.0
illuminate/view Version ^12.0
mpdf/mpdf Version ^8.2
illuminate/support Version ^12.0
illuminate/view Version ^12.0
mpdf/mpdf Version ^8.2
The package sglms/pdf contains the following files
Loading the files please wait ...