Introduction #

ExcelDataSource help you to get data from your current Microsoft Excel file. Underline of ExcelDataSource is the open-source library called PHPOffice/PhpSpreadsheet which helps us to read various Excel version. Please install the Excel package.

Settings #

classstringMust set to '\koolreport\datasources\ExcelDataSource'
filePathstringThe full file path to the Excel file.
charsetstring"utf8"Charset of your CSV file
firstRowDatabooleanfalseWhether the first row is data. Normally the first row contain the field name so default value of this property is false.

Example #

class MyReport extends \koolreport\KoolReport
    public function settings()
        return array(
    public function setup()