A pure PHP library for reading and writing spreadsheet files
Go to file
Mark Baker 4d9258c9e1 Modified some of the examples to show rich text and additional download headers that might be needed 2013-04-27 13:42:14 +01:00
Build Restored PEAR channel 2012-12-20 17:21:51 +01:00
Classes Merge remote-tracking branch 'origin/experimental' into develop 2013-02-09 12:32:03 +01:00
Documentation General: (dbonsch) Work item GH-78 - Restructuring of PHPExcel Exceptions 2013-01-15 21:42:28 +00:00
Examples Modified some of the examples to show rich text and additional download headers that might be needed 2013-04-27 13:42:14 +01:00
unitTests Filtering classpaths in PHPunit config 2012-12-19 12:44:43 +01:00
.gitignore Update .gitignore 2012-12-27 10:24:48 +01:00
.travis.yml Added Travis to the project 2012-11-23 11:51:34 +01:00
README.md Fix #91: Update url of Travis build images 2012-11-24 20:46:18 -02:00
changelog.txt Bugfix: Work item GH-130 - Single cell print area 2013-01-22 21:43:31 +00:00
composer.json IMPROVED : Composer 2012-12-18 14:57:13 +01:00
install.txt Documentation references to /Tests modified to reference /Examples instead 2012-10-18 17:08:08 +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)