Bootstrap3

Overview #

Bootstrap3 package allows users to load Bootstrap 3's js and css files when rendering reports by using a single line of trait like this:

    use \koolreport\bootstrap3\Theme;

Installation #

By downloading .zip file #

  1. Download
  2. Unzip the zip file
  3. Copy the folder bootstrap3 into koolreport folder so that look like below
koolreport
├── core
├── bootstrap3

By composer #

composer require koolreport/bootstrap3

Usage #

If you have not loaded any Bootstrap outside of your report, you could add a trait usage of Bootstrap3 theme to your report:

class MyReport extends \koolreport\KoolReport
{
    use \koolreport\bootstrap3\Theme;

    ...
}

This woud ensure full loading of all Bootstrap 3's js and css files before your report is rendered.

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.