summaryrefslogtreecommitdiff
path: root/bin/dompdf
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2021-12-29 16:21:38 +0100
committerDaniel Weipert <code@drogueronin.de>2021-12-29 16:21:38 +0100
commit08e523874c18112d07ba23be84fe71ff83a9a175 (patch)
tree24020fa2a7839ece06f47a37f9c883e9c865aa7d /bin/dompdf
Initial commitHEADmain
Diffstat (limited to 'bin/dompdf')
-rwxr-xr-xbin/dompdf10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/dompdf b/bin/dompdf
new file mode 100755
index 0000000..d5e72e7
--- /dev/null
+++ b/bin/dompdf
@@ -0,0 +1,10 @@
+#!/usr/bin/env php
+<?php
+
+// suppress Dompdf deprecation warnings
+error_reporting(E_ALL ^ E_DEPRECATED);
+
+require dirname(__DIR__) . '/vendor/autoload.php';
+
+new \DompdfCli\DompdfCli();
+