moonlandsoft / yii2-phpexcel

Exporting PHP to Excel
MIT License
135 stars 89 forks source link

Change name export #18

Closed aliffrhn closed 6 years ago

aliffrhn commented 6 years ago

How to change export name ? the default is exports.xls

avarik-anam commented 6 years ago

You can read in the documentation about $fileName

string|array $fileName is a name for file name to export or import. Multiple file name only use for import mode, not work if you use the export mode

So, you can set the name excel you want to export.

I hope this help your problem.

I will close this issue.

aliffrhn commented 6 years ago

thankss!!