# Exporting

To download the created file, use ->export($ext) or ->download($ext).

# Export to Excel5 (xls)

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


// or

# Export to Excel2007 (xlsx)


// or

# Export to CSV


// or

You can set the default enclosure and delimiter inside the config

# Export to PDF

To export files to pdf, you will have to include "dompdf/dompdf": "~0.6.1", "mpdf/mpdf": "~6.1" or "tecnick.com/tcpdf": "~6.0.0" in your composer.json and change the export.pdf.driver config setting accordingly.