I like to use KoolReport in CodeIgniter. My KoolReport folder is in application/libraries/ folder. My class for reporting "MyReport" is in application/controller/admin and it is extending the KoolReport class in the folder application/libraries/koolreport/core/src/. But I am getting class not found error.
Fatal error: Class 'KoolReport' not found in D:\wamp64\www\prism_koolreport\application\reports\MyReport.php on line 14.
Snapshot of my reporting class
<?php
require APPPATH."libraries/koolreport/autoload.php";
class MyReport extends KoolReport
{
use \koolreport\clients\Bootstrap;
function settings()
{
return array(
"assets"=>array(
"path"=>"../../assets",
"url"=>"assets",
),
"dataSources"=>array(
"automaker"=>array(
"connectionString"=>"mysql:host=localhost;dbname=automaker",
"username"=>"root",
"password"=>"",
"charset"=>"utf8"
)
)
);
}