PHP code example of sergio-vilchis / laravel-phpjasperxml
1. Go to this page and download the library: Download sergio-vilchis/laravel-phpjasperxml 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/ */
sergio-vilchis / laravel-phpjasperxml example snippets
namespace App\Http\Controllers;
use PHPJasperXML;
use Response;
class ReportController extends Controller {
public function viewreport($reporte='')
{
$PHPJasperXML = new PHPJasperXML();
$PHPJasperXML->load_xml_file(app_path()."/