tricd / easy-phpexcel
It's a simple wrapper to support easy Excel document creation with PHPExcel
Installs: 639
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 3
Open Issues: 0
pkg:composer/tricd/easy-phpexcel
Requires
- phpoffice/phpexcel: dev-master
This package is auto-updated.
Last update: 2025-10-06 15:49:41 UTC
README
It's a simple wrapper to support easy Excel document creation with PHPExcel
Usage
The following minimal example will create an Excel file.
$data = array(
'Name' => 'Redmann',
'Sex' => 'male'
);
$excel = new EasyPHPExcel('My first Excel');
$excel->setHeader(array_keys($data))
->addRow(array_values($data))
->save('example1.xlsx');
That's it. Really! It's that simple.