Skip to content

API reference

Quittio\Laravel\Templates

quittio/laravel#

Quittio\Laravel\Templates

  • BladeTemplateEngineRenders Blade views with the invoice view model as $invoice. The name "default" maps to the configured template. Template names may come from invoice data, so only these views can be selected: the configured template (quittio.pdf.template), the shipped views under "quittio::templates." (no partials) and the views of quittio.pdf.templates ("invoices.*" or "namespace::*" allows every view below a prefix). Names that are no Blade view fall back to the plain PHP templates, which resolve names inside their template directories only (never file paths).

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.