A pure PHP library for reading and writing spreadsheet files
Go to file
MarkBaker 780cb74782 URL Hyperlink data may not use the full length of the data field, but could instead be terminated by a null byte character 2014-08-03 22:02:46 +01:00
Build EMail address and changelog date 2014-03-02 14:57:53 +00:00
Classes URL Hyperlink data may not use the full length of the data field, but could instead be terminated by a null byte character 2014-08-03 22:02:46 +01:00
Documentation Documentation updates 2014-03-02 15:22:49 +00:00
Examples Add new example to runall 2014-08-03 00:22:49 +01:00
unitTests Double quote support for SUMIF() condition 2014-01-17 21:01:57 +09:00
.gitattributes General: Work item GH-98 - Split repository in order to improve distribution of the library via composer 2013-03-22 14:09:22 +00:00
.gitignore Update .gitignore 2012-12-27 10:24:48 +01:00
.travis.yml Added PHP 5.6 and HHVM to travis.yml 2014-07-09 12:18:09 +02:00
README.md Fix #91: Update url of Travis build images 2012-11-24 20:46:18 -02:00
changelog.txt Bugfix: Work Item CP18105 - Loading an Excel 2007 spreadsheet throws an "Autofilter must be set on a range of cells" exception 2014-07-27 15:18:00 +01:00
composer.json Add ext-xmlwriter as a Composer requirement 2014-01-03 16:59:32 -05:00
install.txt Update to copyright year in file headers, and minor documentation updates 2013-05-14 12:20:28 +01:00
license.md Added readme and license file 2012-07-05 07:24:57 +02:00

README.md

PHPExcel - OpenXML - Read, Write and Create spreadsheet documents in PHP - Spreadsheet engine

PHPExcel is a library written in pure PHP and providing a set of classes that allow you to write to and read from different spreadsheet file formats, like Excel (BIFF) .xls, Excel 2007 (OfficeOpenXML) .xlsx, CSV, Libre/OpenOffice Calc .ods, Gnumeric, PDF, HTML, ... This project is built around Microsoft's OpenXML standard and PHP.

Master: Build Status

Develop: Build Status

File Formats supported

Reading

  • BIFF 5-8 (.xls) Excel 95 and above
  • Office Open XML (.xlsx) Excel 2007 and above
  • SpreadsheetML (.xml) Excel 2003
  • Open Document Format/OASIS (.ods)
  • Gnumeric
  • HTML
  • SYLK
  • CSV

Writing

  • BIFF 8 (.xls) Excel 95 and above
  • Office Open XML (.xlsx) Excel 2007 and above
  • HTML
  • CSV
  • PDF (using either the tcPDF, DomPDF or mPDF libraries, which need to be installed separately)

Requirements

  • PHP version 5.2.0 or higher
  • PHP extension php_zip enabled (required if you need PHPExcel to handle .xlsx .ods or .gnumeric files)
  • PHP extension php_xml enabled
  • PHP extension php_gd2 enabled (optional, but required for exact column width autocalculation)

Want to contribute?

Fork us!

License

PHPExcel is licensed under LGPL (GNU LESSER GENERAL PUBLIC LICENSE)