Local clone of [PhpSpreadsheet](https://github.com/PHPOffice/PhpSpreadsheet/)
Go to file
Adrien Crivelli 7a6c5b0d1b
Fix code style
2016-08-25 11:13:49 +09:00
Build EMail address and changelog date 2014-03-02 14:57:53 +00:00
Documentation #401 : Support for namespaces 2016-03-22 22:40:11 +01:00
Examples gh-17 Update examples for namespace changes 2016-08-17 00:06:51 +01:00
src Fix code style 2016-08-25 11:13:49 +09:00
tests Introduce PHP-CS-Fixer for stricter code style rules 2016-08-17 00:33:57 +09:00
.gitattributes Reorganize unit tests 2016-08-14 02:29:33 +09:00
.gitignore Report coverage to Scrutinizer 2016-08-16 23:38:24 +09:00
.php_cs Introduce PHP-CS-Fixer for stricter code style rules 2016-08-17 00:33:57 +09:00
.travis.yml Show progress so Travis does not think the build failed 2016-08-17 01:00:21 +09:00
README.md Updates to Read Me document 2016-08-14 23:28:23 +01:00
changelog.txt Double call of PHPExcel_Cell::stringFromColumnIndex(PHPExcel_Cell::stringFromColumnIndex(0)) resulting in `PHP Warning: A non-numeric value encountered" 2016-08-05 00:22:19 +01:00
composer.json Introduce PHP-CS-Fixer for stricter code style rules 2016-08-17 00:33:57 +09:00
license.md Added readme and license file 2012-07-05 07:24:57 +02:00
phpunit.xml.dist Report coverage to Scrutinizer 2016-08-16 23:38:24 +09:00

README.md

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

Master: Build Status Code Quality Code Coverage Total Downloads Latest Stable Version License Join the chat at https://gitter.im/PHPOffice/PhpSpreadsheet

Develop: Build Status Code Quality Code Coverage

PhpSpreadsheet 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

Format Reading Writing
Open Document Format/OASIS (.ods)
Office Open XML (.xlsx) Excel 2007 and above
BIFF 8 (.xls) Excel 97 and above
BIFF 5 (.xls) Excel 95
SpreadsheetML (.xml) Excel 2003
Gnumeric
HTML
SYLK
CSV
PDF (using either the tcPDF, DomPDF or mPDF libraries, which need to be installed separately)

Requirements

  • PHP version 5.5.0 or higher
  • PHP extension php_zip enabled (required if you need PhpSpreadsheet 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)

PHP Version Support

  • Support for PHP versions will only be maintained for a period of six months beyond the end-of-life of that PHP version

Want to contribute?

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

  • All new development happens on feature/fix branches referenced with the github issue number, and are then merged to the develop branch; so the develop branch is always the most up-to-date, working code
  • The master branch only contains tagged releases
  • If you are going to be submitting a pull request, please fork from develop, and submit your pull request back as a fix/feature branch referencing the github issue number
  • Wherever possible, code changes should conform to PSR-2 standards
  • Helpful article about forking
  • Helpful article about pull requests

License

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