https://github.com/tredmann/easy-phpexcel
It's a simple wrapper to support easy Excel document creation with PHPExcel
https://github.com/tredmann/easy-phpexcel
Last synced: 10 months ago
JSON representation
It's a simple wrapper to support easy Excel document creation with PHPExcel
- Host: GitHub
- URL: https://github.com/tredmann/easy-phpexcel
- Owner: tredmann
- License: mit
- Created: 2015-06-13T11:54:03.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-14T10:08:09.000Z (about 11 years ago)
- Last Synced: 2025-07-23T22:03:31.465Z (11 months ago)
- Language: PHP
- Size: 133 KB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# easy-phpexcel
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.