I am stuck in a very annoying error when trying to load dompdf lib via composer.
Fatal error: require_once(): Failed opening required 'dompdf_config.inc.php' (include_path='.:/usr/local/Cellar/php54/5.4.15/lib/php')
I can tell my php configuration is sure loaded DOM extension
Here is the test code
require 'vendor/autoload.php';
require_once("dompdf_config.inc.php");
$html =
'<html><body>'.
'<p>Hello World!</p>'.
'</body></html>';
$dompdf = new DOMPDF();
$dompdf->load_html($html);
$dompdf->render();
$dompdf->stream("hello_world.pdf");
I installed dompdf via composer:
What am I missing ?