2017 © Pedro Peláez
 

library simple-excel-php

Easily parse / convert / write between Microsoft Excel XML / CSV / TSV / HTML / JSON / etc formats

image

faisalman/simple-excel-php

Easily parse / convert / write between Microsoft Excel XML / CSV / TSV / HTML / JSON / etc formats

  • Wednesday, June 6, 2018
  • by fyzlman
  • Repository
  • 47 Watchers
  • 452 Stars
  • 110,322 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 114 Forks
  • 13 Open issues
  • 13 Versions
  • 17 % Grown

The README.md

Simple Excel

Easily parse / convert / write between Microsoft Excel XML / CSV / TSV / HTML / JSON / etc formats, (*1)

For further deatails see the GitHuib Pages site: http://faisalman.github.com/simple-excel-php

PHP Versions Supported

PHP >= 5.3, (*2)

Installation

If you're using Composer to manage libraries, include this package in your composer.json, (*3)

"require" : {
    "faisalman/simple-excel-php" : "0.3.*"
}

If you want to try version 0.4 (still in develop branch) you can use, (*4)

"require" : {
    "faisalman/simple-excel-php" : "develop as 0.4.0-alpha"
}

Or just load this library in your PHP project by including SimpleExcel.php, (*5)

require_once('../your/project/directory/here/lib/SimpleExcel/SimpleExcel.php');

Features

  • Available parsers: Microsoft Excel 2003 XML, CSV, TSV, HTML, JSON
  • Available writers: Microsoft Excel 2003 XML, CSV, TSV, HTML, JSON

Usage

use SimpleExcel\SimpleExcel

$excel = new SimpleExcel('CSV');
$excel->parser->loadFile('test.csv');

echo $excel->parser->getCell(1, 1);

$excel->convertTo('JSON');
$excel->writer->addRow(array('add', 'another', 'row'));
$excel->writer->saveFile('example');

Development

Build Status, (*6)

Testing, (*7)

$ phpunit --configuration test/phpunit.xml

Next version 0.4.0-alpha is now available under develop branch, (*8)

License

Copyright (c) 2011-2012 Faisalman fyzlman@gmail.com" title="See online fyzlman@gmail.com">fyzlman@gmail.com, (*9)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:, (*10)

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software., (*11)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE., (*12)

The Versions

06/06 2018

dev-master

9999999-dev http://faisalman.github.com/simple-excel-php

Easily parse / convert / write between Microsoft Excel XML / CSV / TSV / HTML / JSON / etc formats

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

csv parser json xml excel html converter writer spreadsheet document tsv

19/05 2018

dev-develop-0.5

dev-develop-0.5 http://faisalman.github.com/simple-excel-php

Easily parse / convert / write between Microsoft Excel XML / CSV / TSV / HTML / JSON / etc formats

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

csv parser json xml excel html converter writer spreadsheet document tsv

03/11 2014

dev-develop

dev-develop http://faisalman.github.com/simple-excel-php

Easily parse / convert / write between Microsoft Excel XML / CSV / TSV / HTML / JSON / etc formats

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

csv parser json xml excel html converter writer spreadsheet document tsv

21/03 2013

v0.3.15

0.3.15.0 http://faisalman.github.com/simple-excel-php

Easily parse / convert / write between Microsoft Excel XML / CSV / TSV / HTML / JSON / etc formats

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

csv parser json xml excel html converter writer spreadsheet document tsv

11/12 2012

v0.3.12

0.3.12.0 http://faisalman.github.com/simple-excel-php

Easily parse / convert / write between Microsoft Excel XML / CSV / TSV / HTML / JSON / etc formats

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

csv parser json xml excel html converter writer spreadsheet document tsv

23/10 2012

v0.3.10

0.3.10.0 http://faisalman.github.com/simple-excel-php

Easily parse / convert / write between Microsoft Excel XML / CSV / TSV / HTML / JSON / etc formats

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

csv parser json xml excel html converter writer spreadsheet document tsv

22/10 2012

v0.3.9

0.3.9.0 http://faisalman.github.com/simple-excel-php

Easily parse / convert / write between Microsoft Excel XML / CSV / TSV / HTML / JSON / etc formats

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

csv parser json xml excel html converter writer spreadsheet document tsv

22/10 2012

v0.3.8

0.3.8.0 http://faisalman.github.com/simple-excel-php

Easily parse / convert / write between Microsoft Excel XML / CSV / TSV / HTML / JSON / etc formats

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

csv parser json xml excel html converter writer spreadsheet document tsv

21/08 2012

v0.3.7

0.3.7.0 http://faisalman.github.com/simple-excel-php

Easily parse / convert / write between Microsoft Excel XML / CSV / TSV / HTML / JSON / etc formats

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

csv parser json xml excel html converter writer spreadsheet document tsv

06/08 2012

v0.3.6

0.3.6.0 http://faisalman.github.com/simple-excel-php

Easily parse / convert / write between Microsoft Excel XML / CSV / TSV / HTML / JSON / etc formats

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

csv parser json xml excel html converter writer spreadsheet document tsv

26/07 2012

v0.3.3

0.3.3.0 http://faisalman.github.com/simple-excel-php

Easily parse/convert/write Microsoft Excel XML/CSV/TSV spreadsheet format

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

csv parser xml excel converter writer spreadsheet document tsv

22/07 2012

v0.3.1

0.3.1.0 http://faisalman.github.com/simple-excel-php

A dead simple PHP library to parse/write Microsoft Excel XML/CSV/TSV

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

csv parser xml excel writer spreadsheet tsv

22/07 2012

v0.3.0

0.3.0.0 http://faisalman.github.com/simple-excel-php

A dead simple PHP library to parse/write Microsoft Excel XML/CSV

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

csv parser xml excel writer spreadsheet