2017 © Pedro Peláez
 

library simple-excel

A wrapper around the phpexcel package, that gives it array access and some extra features

image

mtrajano/simple-excel

A wrapper around the phpexcel package, that gives it array access and some extra features

  • Sunday, May 28, 2017
  • by mtrajano
  • Repository
  • 1 Watchers
  • 2 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

SimpleExcel

SimpleExcel is a wrapper around the PHPOffice/PHPExcel package that gives it a few extra features. Some of theses features include:, (*1)

Matrix Array Access

//PHPExcel.php
$workbook = new PHPExcel();
$worksheet = $workbook->getActiveSheet();

$worksheet->setCellValue('A1', 'A test value');
//SimpleExcel.php
$workbook = new Mtrajano\SimpleExcel\Workbook();
$worksheet = $workbook->getActiveSheet();

$worksheet[1]['A'] = 'A test value';

Numeric Column Access

//PHPExcel.php
$worksheet->setCellValue('B1', 'Another test value');
//SimpleExcel.php
$worksheet[1][1] = 'Another test value';

Seamless export

//PHPExcel.php
$writer = new PHPExcel_Writer_Excel2007($workbook);
$writer->save("phpexcel.xlsx");

$writer = new PHPExcel_Writer_Excel5($workbook);
$writer->save("phpexcel.xls");
//SimpleExcel.php
$workbook->save("simple.xlsx", Workbook::WRITE_Excel2007);
$workbook->save("simple.xls", Workbook::WRITE_Excel5);

The Versions

28/05 2017

dev-master

9999999-dev https://github.com/mtrajano/simple-excel

A wrapper around the phpexcel package, that gives it array access and some extra features

  Sources   Download

LGPL-2.1

The Requires

 

The Development Requires

by Mauricio Trajano

excel simple phpexcel speadsheet