Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

amitshrestha221's avatar

Merge cells in laravel excel export.

I am exporting excel like this. I ant the C field to be of 3 columns.


$array = ['A','B','C','D'];

$sheet->fromArray(array(
                    $array
                ), null, 'A1', false, false);


0 likes
1 reply

Please or to participate in this conversation.