Introduction #

MongoDataSource helps you to connect to MongoDB to retrieve data. You need to install the MongoDB package.

Settings #

classstringMust set to '\koolreport\datasources\MongoDataSource'
connectionStringstringDefine connection string to MongoDB. If you use connectionString, you do not need to set properties host, username and password.
hoststringMongoDB host
databasestringThe name of database you want to connect

Example #

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

Get started with KoolReport

KoolReport will help you to construct good php data report by gathering your data from multiple sources, transforming them into valuable insights, and finally visualizing them in stunning charts and graphs.