A pure PHP library for reading and writing spreadsheet files
Go to file
Mark Baker 85eabc21aa Various bugfixes including Excel2007 Writer order of font style elements to conform with Excel2003 using compatibility pack 2012-08-23 00:16:40 +01:00
Build Special Feature: (kkamkou) Phar builder script to add phar file as a distribution option 2012-08-16 23:57:48 +01:00
Classes Various bugfixes including Excel2007 Writer order of font style elements to conform with Excel2003 using compatibility pack 2012-08-23 00:16:40 +01:00
Documentation Fixed broken build after recent autofilter changes 2012-08-15 13:20:34 +01:00
Tests Various bugfixes including Excel2007 Writer order of font style elements to conform with Excel2003 using compatibility pack 2012-08-23 00:16:40 +01:00
unitTests AutoFilter unit tests 2012-08-19 23:17:12 +01:00
.gitignore Special Feature: (kkamkou) Phar builder script to add phar file as a distribution option 2012-08-16 23:57:48 +01:00
README.md Added README file 2012-08-04 17:34:10 +01:00
changelog.txt Various bugfixes including Excel2007 Writer order of font style elements to conform with Excel2003 using compatibility pack 2012-08-23 00:16:40 +01:00
install.txt Modify Test examples to echo nicely from both CLI and in a web browser 2012-08-05 18:54:20 +01:00
license.txt Migration from off-site Subversion repository (part 1). 2010-08-26 19:14:53 +00:00
phpdoc-home.ini Migration from off-site Subversion repository (part 1). 2010-08-26 19:14:53 +00:00
phpdoc.ini Migration from off-site Subversion repository (part 1). 2010-08-26 19:14:53 +00:00
setpath.bat Migration from off-site Subversion repository (part 1). 2010-08-26 19:14:53 +00:00
start_shell.bat Migration from off-site Subversion repository (part 1). 2010-08-26 19:14:53 +00: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.

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)