PHP code example of netberry / xlsx-writer

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

    

netberry / xlsx-writer example snippets




\Netberry\XlsxWriter::write('test.xlsx', array(
    array('name' => 'Brad', 'surname' => 'Pitt'),
    array('name' => 'Leonardo', 'surname' => 'DiCaprio'),
));