Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Primary Termmaatwebsite/excel store s3

 $fileName = $date . '.xls';

    $fileContent = Excel::create($fileName , function($excel) use ($licencies) {
        $excel->sheet('Excel', function($sheet) use ($licencies) {
            $sheet->fromArray($licencies);
        });
    })->string('xls');

    Storage::disk('s3')->put($fileName, $fileContent);
 
PREVIOUS NEXT
Tagged: #Primary #store
ADD COMMENT
Topic
Name
6+4 =