Run a Project Report



To run an existing report stored by the designer just load the project, the report and erxecute it



<?php
\Reportico\Engine\Builder::build()
    ->
project("project")
    ->
load("reportfile")
    ->
execute();
?>
1


In the example, the tutorials projects is loaded, the stock report is loaded and executed

Run Demo


<?php

      
require_once(__DIR__ .'/../vendor/autoload.php');
      

      \
Reportico\Engine\Builder::build()
          ->
properties([ "bootstrap_preloaded" => true])
          ->
properties(["projects_folder" =>  __DIR__."/../projects"])
          ->
project("tutorials")
          ->
load("stock")
          ->
execute();
?>