A pure PHP library for reading and writing spreadsheet files
Clone or download
Pull request Compare This branch is 30 commits behind PHPOffice:1.8.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Build
Classes Feature: (Tomino2112) Work Item PHPOfficeGH-808 - MemoryDrawing not w… Mar 1, 2016
Documentation Minor bugfixes and documentation changes Jan 13, 2016
Examples Feature: (Tomino2112) Work Item PHPOfficeGH-808 - MemoryDrawing not w… Mar 1, 2016
unitTests Short array syntax in XEE Validator tests Dec 30, 2015
.gitattributes modify export ignores Jan 15, 2016
.gitignore Update .gitignore Dec 27, 2012
.travis.yml Update Travis configuration Dec 30, 2015
README.md gitter link May 26, 2015
changelog.txt Feature: (Tomino2112) Work Item PHPOfficeGH-808 - MemoryDrawing not w… Mar 1, 2016
composer.json Fix reference for gd in composer Feb 9, 2016
install.txt Update to copyright year in file headers, and minor documentation upd… May 14, 2013
license.md Added readme and license file Jul 5, 2012

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

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

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

  • All new development happens on the 1.8 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.8, and submit your pull request back to that 1.8 branch
  • Wherever possible, code changes should conform as closely as possible to PSR-2 standards
  • Helpful article about forking
  • Helpful article about pull requests

License

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