A pure PHP library for reading and writing spreadsheet files
Go to file
MarkBaker 8af8d3b460 Fix to HTML generation with charts that fall outside of the main data area, and fix to show trailing `/` in folders for the jpgraph in examples 2015-08-03 19:50:34 +01:00
Build EMail address and changelog date 2014-03-02 14:57:53 +00:00
Documentation Minor documentation fix 2015-04-08 17:27:14 +01:00
Examples Fix to HTML generation with charts that fall outside of the main data area, and fix to show trailing `/` in folders for the jpgraph in examples 2015-08-03 19:50:34 +01:00
src Fix to HTML generation with charts that fall outside of the main data area, and fix to show trailing `/` in folders for the jpgraph in examples 2015-08-03 19:50:34 +01:00
unitTests Improved masking for number format handling, particularly for datetime masks 2015-08-01 00:39:10 +01: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 Updates to travis and composer files for new folder structure 2015-05-26 21:24:14 +01:00
README.md gitter link 2015-05-26 21:36:46 +01:00
changelog.txt Bugfix: Work Item GH-554 - Whitespace after toRichTextObject() 2015-07-15 23:23:20 +01:00
composer.json Add pclzip to composer 2015-07-08 22:21:29 +01: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.


**WARNING: **This branch breaks backward compatibility with the 1.8 branch, and is subject to major change until the first official 1.9.0 release


Master: Build Status

Develop: Build Status

Join the chat at https://gitter.im/PHPOffice/PHPExcel

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.4.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?

If you would like to contribute, here are some notes and guidlines:

  • All new development happens on the 1.9 branch, so it is always the most up-to-date
  • The master branch only contains tagged releases
  • If you are going to be submitting a pull request, please fork from 1.9, and submit your pull request back to that 1.9 branch
  • Wherever possible, code changes should conform to PSR-2 standards
  • Helpful article about forking
  • Helpful article about pull requests

License

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