Bootstrap5
Overview #
Bootstrap5
package allows users to load Bootstrap 5's js and css files when rendering reports by using a single line of trait like this:
use \koolreport\bootstrap5\Theme;
Installation #
By downloading .zip file #
- Download
- Unzip the zip file
- Copy the folder
bootstrap5
intokoolreport
folder so that look like below
koolreport
├── core
├── bootstrap5
By composer #
composer require koolreport/bootstrap5
Usage #
If you have not loaded any Bootstrap outside of your report, you could add a trait usage of Bootstrap5 theme to your report:
class MyReport extends \koolreport\KoolReport
{
use \koolreport\bootstrap5\Theme;
...
}
This woud ensure full loading of all Bootstrap 5'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.