phantommagick icon indicating copy to clipboard operation
phantommagick copied to clipboard

Laravel save but I can't see any file

Open lttin0912 opened this issue 5 years ago • 0 comments

I use this package in my project (Laravel) but I don't see any file. $conv = new \Anam\PhantomMagick\Converter(); $conv->setBinary(base_path('vendor/anam/phantomjs-linux-x86-binary/bin/phantomjs')); $conv->source('<h1>Title</h1><p>Hello.</p>') ->toPdf() ->save(public_path('tests/google.pdf')); $conv return null.

lttin0912 avatar Feb 23 '20 16:02 lttin0912