Please help..
Im doing Koolreport/laravel friendship but with DATASOURCE NOT FOUND error.
function setup()
{
// Let say, you have "sale_database" is defined in Laravel's database settings.
// Now you can use that database without any futher setitngs.
$this->src("larastart")
->query("SELECT * FROM users")
->pipe($this->dataStore("users"));
}
My .env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=larastart
DB_USERNAME=root
DB_PASSWORD=
Thank you