Overview #

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

    use \koolreport\bootstrap4\Theme;

Installation #

By downloading .zip file #

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

By composer #

composer require koolreport/bootstrap4

Usage #

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

class MyReport extends \koolreport\KoolReport
    use \koolreport\bootstrap4\Theme;


This woud ensure full loading of all Bootstrap 4'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.