dev-master
9999999-dev https://github.com/atishamtePHP wrapper of phpexcel library
MIT
The Requires
- php >=5.6
- phpoffice/phpspreadsheet dev-master
by Atish Amte
excel export import php excel php excel wrapper excel import excel export
Wallogit.com
2017 © Pedro Peláez
PHP wrapper of phpexcel library
Exporting PHP to Excel or Importing Excel to PHP. Excel Library for generate Excel File or for load Excel File., (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist atishamte/piexl OR composer require atishamte/piexl
or add, (*4)
"atishamte/piexl": "*"
to the require section of your composer.json file., (*5)
Import file excel and return into an array., (*6)
<?php
$config = [
'fileNames' => 'SampleData.xlsx', // String or Array of file names
'setFirstRecordAsKeys' => true, // Set column keys as a index of each element
'setIndexSheetByName' => true, // Set worksheet name as a index of sheet data array
'getOnlySheet' => 'worksheetname', // Get data of particular worksheet
'getOnlySheetNames' => true, // Get only worksheet names as a array
'getSheetRangeInfo' => true, // Get range of filled cells in worksheets
];
$ExcelData = \atishamte\Piexl\Excel::import($config);
PHP wrapper of phpexcel library
MIT
excel export import php excel php excel wrapper excel import excel export