Canio

Install

Install Canio from Packagist.

composer require oxhq/canio
php artisan canio:install

The install command publishes config, downloads the matching Stagehand binary, verifies checksums, and runs a local doctor check.

First render

use Oxhq\Canio\Facades\Canio;

return Canio::view('pdf.invoice', ['invoice' => $invoice])
    ->profile('invoice')
    ->title('Invoice #123')
    ->stream('invoice.pdf');

What happens by default

Next steps