HI , Working on koolreport sample file and getting error as "Class "\koolreport\excel\ExcelDataSource" not found" .
My code is below , please help on this issue
<?php
namespace App\Dashboard; require_once "\koolreport\core\autoload.php"; use \koolreport\processes\Group; use \koolreport\processes\Sort; use \koolreport\processes\Limit;
use \koolreport\processes\ColumnMeta; use \koolreport\excel\ExcelDataSource;
class DashBoardReport extends \koolreport\KoolReport {
use \koolreport\laravel\Friendship;
protected function settings()
{
// echo dirname(__FILE__);exit;
return array(
"dataSources"=>array(
"excel"=>array(
"class"=>'\koolreport\excel\ExcelDataSource',
"filePath"=>dirname(__FILE__)."/upi_report_file/new_20220607-01-00.xlsx",
)
)
);
}
}