See answer here https://discourse.cakephp.org/t/import-excel-data-in-cakephp-data-base/6937 It's an import, not laravel forum, but point is, just write an export routine, it just as easy to do.
There are so many php functions to help you.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
How can I export data to excel .csv file without using maatwebsite.
I have to add export features to the existing project created in Laravel 4. I did it using maatwebsite, but the problem is when I deploy it to prod, it is not accepted. Shows an error with maatwebsite and when I remove it and deploy everything works. I don't what is the issue but I am also thinking of other ways to export the data. If there is any other way to export data. Is there any other way to work with it.
Please or to participate in this conversation.