Instant 1.0.0
October 3, 2017Welcome to a new package, Instant 1.0.0. The package helps us to create Widget instantly everywhere without setting up a whole report.
Recently we have received a good suggestion that we should expand the usage of KoolReport's widget outside of KoolReport's environment. For example, to add Google BarChart to a normal php page. It is possible to setup a KoolReport class and the view and include the chart but it is quite troublesome and not convenient.
Understanding the need of creating ad-hoc charts and graphs, we created this package to make thing easier. Now you can build the below chart on the fly:
<?php
require_once "koolreport\autoload.php";
use \koolreport\instant\Widget;
use \koolreport\widgets\google\BarChart;
?>
<html>
<head>
<title>Instant BarChart</title>
</head>
<body>
<?php
Widget::create(BarChart::class,array(
"data"=>array(
array("name"=>"Peter","age"=>35),
array("name"=>"Karl","age"=>32),
)
));
?>
</body>
</html>
It's Free!
The package is totally free. So you may download it now!
<3 koolreport team