PHP code example of maksuco / reports

1. Go to this page and download the library: Download maksuco/reports library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

maksuco / reports example snippets



  \Reports::period($period,$period2);



  \Reports::counter($period,$period2,$path);



  \Reports::chart($period,$period2,$path);
  


  \Reports::charts($data1);
  


  \Reports::reports($biz_id,$table,$date,$sum);
  


  $chart = \Reports::reports_chart($biz_id,$table,$date,$field);
  {!! $chart['sum'] !!}