LaravelPackages.net
Acme Inc.
Toggle sidebar
pishgaman/sheet

This is a comprehensive Laravel package for getting Excel and PDF output. phpspreadsheet And mpdf are the libraries used in this package.

29
0
About pishgaman/sheet

pishgaman/sheet is a Laravel package for this is a comprehensive laravel package for getting excel and pdf output. phpspreadsheet and mpdf are the libraries used in this package.. It currently has 0 GitHub stars and 29 downloads on Packagist. Install it with composer require pishgaman/sheet. Discover more Laravel packages by pishgaman or browse all Laravel packages to compare alternatives.

Last updated

Pishgaman-Sheet

This is a comprehensive Laravel package for getting Excel and PDF output. phpspreadsheet And mpdf are the libraries used in this package.

How to Install Your Project

composer require pishgaman/sheet

How to Use

Export Excel

$sheet =\App::make(SheetInterface::class);
$Spreadsheet = $sheet->init();
$spreadsheet = $sheet->createSheet($Spreadsheet,'test');
$arrayData = [];
$arrayData[0] =['name'];
$spreadsheet = $sheet->arrayExport($spreadsheet,$arrayData,0);
$sheet->createWriter($spreadsheet);
Comments