-
-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usage question #20
Comments
Thank you for your contribution!
Ok, I've just fixed it (thanks to your issue) and added a unit test. In v0.2.0,
The file is placed in the current dir. If you want to store it in storage path, you could call the $pma_forms = PmaForm::all();
$filename = storage_path('/pma_form_'.$pma_form_id.'.xlsx');
$export = (new FastExcel($pma_forms))->export($filename);
dd($export); // It should now display the file name. Does this fix your issue? Let me know if it does not work! |
@rap2hpoutre Thanks for your quick answer! I have managed to get it to work while looking in the source code and find the download function(maybe you should add in readme/docs). |
Done, thank you! I just updated the readme: e25a70a |
Hello,
When i trying to use your package, i always get
null
also there is no file placed in the filesystem.Also
return $export
does nothing but a blank page.Am i missing something here?
I am running Laravel Framework 5.6.20, PHP 7.2.5, on osx 10.13.4.
The text was updated successfully, but these errors were encountered: