tables export into to csv files

Posted 1 year ago by mstdmstd

Hello, I want some my tables export into to csv files and I get this library

and I see :

Excel::create('Filename', function($excel) {


But what I missed is how to set list of headers and data array itself? Has it some useful options?


Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.