Does our Exporting example work at your site?
This example: How to export report to PDF
You may find the example in our examples suite.
The problem is not because of Laravel. It is because of PhantomJS installation, please make sure:
- You download the correct version of phantomjs. In our installation guide page for Export package, the phantomjs is for 64bit. Please check if your system is 64 bit.
- Please make sure the phantomjs execution file is set permission to run 755 is good choice.
- Some system need PhantomJs to be install using command line ( not just by copying the file like we shown, although all most all of the time, this way works). You may read the guide here
- Some use shared hosting so he will need admin to install phantomjs for them.
Above is the most solutions by our experience of supporting our users to get phantomjs installed.
As we see that people may find the installation of headless browser difficult, we have made a solution called CloudExport that you may use to export your report. May be it will be easier solution.