2017 © Pedro Peláez
 

symfony-bundle excel-bundle

OS Excel Bundle for Symfony2

image

os/excel-bundle

OS Excel Bundle for Symfony2

  • Wednesday, July 29, 2015
  • by abdeltiflouardi
  • Repository
  • 2 Watchers
  • 11 Stars
  • 17,541 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 11 Forks
  • 1 Open issues
  • 2 Versions
  • 7 % Grown

The README.md

Integrate OSExcelBundle in your project

Add this line to the require option in your composer.json file:, (*1)

 "os/excel-bundle": "dev-master"

Execute this command line, (*2)

 php composer.phar update os/excel-bundle

In your app/AppKernel.php, (*3)

 new OS\ExcelBundle\OSExcelBundle

USING:

Call service, (*4)

 $excel = $this->get('os.excel');

Open file, (*5)

 $excel->loadFile([FILE_PATHNAME]);

Select sheet, (*6)

 $excel->setActiveSheet([INDEX_OF_SHEET]);

Get count of sheet, (*7)

 $excel->getSheetCount();

Get sheet names, (*8)

 $excel->getSheetNames();

Get count of rows of selected sheet, (*9)

 $excel->getRowCount();

Get Count of columns of selected sheet, (*10)

 $excel->getColumnCount();

Get index of last column, (*11)

 $excel->getHighestColumn();

Get row data, (*12)

 $excel->getRowData([INDEX_OF_ROW]);

Get cell data, (*13)

 $excel->getCellData([INDEX_OF_ROW], [INDEX_OF_COLUMN]);

GET sheet data as php array, (*14)

 $excel->getSheetData();

Enjoy!, (*15)

The Versions

29/07 2015

dev-master

9999999-dev http://github.com/abdeltiflouardi/OSExcelBundle

OS Excel Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

excel

04/04 2013

2.1

2.1.0.0 http://github.com/ouardisoft/OSExcelBundle

OS Excel Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

excel