<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);

require_once __DIR__ . '/dompdf/autoload.inc.php';

use Dompdf\Dompdf;

if (class_exists('Dompdf\Dompdf')) {
    echo "Dompdf class loaded ✅";
} else {
    echo "Dompdf class NOT loaded ❌";
}
