# Configuration options
# CSV export format
If you need a bit more control over the CSV format, you can customize the delimiter, enclosure and line ending through the config file:
<?php
return [
'exports' => [
'delimiter' => ',',
'enclosure' => '"',
'line_ending' => "\n",
],
];
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
The default values match the default values used by League/Csv.
NB: The delimiter and enclosure both must be exactly one character in length.
# Query chunk size
You can also customize the chunk size, which impacts performance for FromQuery concerns, as follows:
<?php
return [
'exports' => [
'chunk_size' => 10000,
],
];
1
2
3
4
5
6
7
2
3
4
5
6
7
You might need to find the sweet spot for your application, however we've experienced chunks bigger than 20000 to become slower.