PHP code example of jdz / exporter

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

    

jdz / exporter example snippets


use JDZ\Exporter\Exporter;

(new Exporter('My App'))
    ->setTitle('Users')
    ->setRows($rows, 'Users')
    ->render()
    ->save('/tmp/users.xlsx');