<?php error_reporting(E_ALL | E_STRICT); defined('BASE_DIR') || define('BASE_DIR', dirname(__FILE__) . '/../../'); require BASE_DIR . 'vendor/autoload.php'; $lib = new RevPDFLib\Application(); $data = simplexml_load_file('helloworld.xml'); $lib->export($data);