For the complete documentation index, see llms.txt. This page is also available as Markdown.

Merge cells

Function Prototype

mergeCells(string $scope, string $data[, resource $formatHandler]): self

string $scope

Cell range

string $data

Data

resource $formatHandler

cell style

example

$excel->fileName("test.xlsx")
   ->mergeCells('A1:C1', 'Merge cells')
   ->output();

Last updated