laravel-phantom maintained by acid-solutions
Author
Last update
2018/05/22 13:07
(dev-master)
Downloads
1 711
Laravel Phantom
$pngGenerator = new LaravelPhantom();
$capture = $pngGenerator->open(url) ->filetype('png') ->size(1200,675) ->capture();
if ( $capture->success() ) { return Response::download($capture->file()); } else { return $capture->error(); }
$pdfGenerator = new LaravelPhantom();