PHP code example of hellofresh / ausraster

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

    

hellofresh / ausraster example snippets




use HelloFresh\Ausraster\Spreadsheet\Coordinate;
use HelloFresh\Ausraster\Spreadsheet\PhpExcel\Document;

$document = new Document;

$worksheet = $document->createWorksheet();

$coordinate = new Coordinate('A', 1);
$cell = $worksheet->getCellAt($coordinate);
$cell->fill('Ausraster rules!');

$document->save('example.xlsx');