FileCache

Usage #

This will store computed results using file system. There is no further installation needed if you use FileCache.

To enable this cache, you do:

<?php

class MyReport extends \koolreport\KoolReport
{
    use \koolreport\cache\FileCache;

    function cacheSettings()
    {
        return array(
            "ttl"=>60,
        );
    }
    ...
}

The "ttl" means Time To Live which is the time cache will store the result.

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.