PHP code example of rwsoft / excel-bundle
1. Go to this page and download the library: Download rwsoft/excel-bundle 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/ */
rwsoft / excel-bundle example snippets
use RWSoft\ExcelBundle\ExcelResponse;
$doc = new \PHPExcel();
$objWriter = new \PHPExcel_Writer_Excel5($doc);
$response = new ExcelResponse($objWriter);
$response->send();