PHP code example of jacques / php-reports

1. Go to this page and download the library: Download jacques/php-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/ */

    

jacques / php-reports example snippets


 declare(strict_types=1);

\Excel('Cover Sheet');
$report->setCellValue('B2', 'Report Name');
$report->setCellValue('B4', 'Description');

$report->createSheet('User');

$report->save(__DIR__.'/tmp/file.xlsx');

$ composer 

{
    "  "jacques/php-reports": "dev-master"
    }
}