pishgaman/sheet

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

Installs: 29

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/pishgaman/sheet

dev-main 2021-08-22 05:12 UTC

This package is auto-updated.

Last update: 2025-10-22 14:06:12 UTC


README

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);