2017 © Pedro Peláez
 

library piexl

PHP wrapper of phpexcel library

image

atishamte/piexl

PHP wrapper of phpexcel library

  • Tuesday, May 2, 2017
  • by atishamte
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Piexl - Php Import EXport Library(for Excel)

Exporting PHP to Excel or Importing Excel to PHP. Excel Library for generate Excel File or for load Excel File., (*1)

Installation

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)

Usage

Importing Data

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

The Versions

02/05 2017

dev-master

9999999-dev https://github.com/atishamte

PHP wrapper of phpexcel library

  Sources   Download

MIT

The Requires

 

by Atish Amte

excel export import php excel php excel wrapper excel import excel export