PhpSpreadsheet is a library written in pure PHP and providing a set of classes that allow you to read from and to write to different spreadsheet file formats, like Excel and LibreOffice Calc.

Code Quality Rank: L2
Programming language: PHP
License: MIT License
Tags: Office     Excel     Spreadsheet     Xls     Xlsx     OpenXML     LibreOffice     Calc     Ods     Gnumeric    
Latest version: v1.20.0

PhpSpreadsheet alternatives and similar libraries

Based on the "Office" category.
Alternatively, view PhpSpreadsheet alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of PhpSpreadsheet or a related project?

Add another 'Office' Library



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

PhpSpreadsheet is a library written in pure PHP and offers a set of classes that allow you to read and write various spreadsheet file formats such as Excel and LibreOffice Calc.


Read more about it, including install instructions, in the official documentation. Or check out the API documentation.

Please ask your support questions on StackOverflow, or have a quick chat on Gitter.

PHPExcel vs PhpSpreadsheet ?

PhpSpreadsheet is the next version of PHPExcel. It breaks compatibility to dramatically improve the code base quality (namespaces, PSR compliance, use of latest PHP language features, etc.).

Because all efforts have shifted to PhpSpreadsheet, PHPExcel will no longer be maintained. All contributions for PHPExcel, patches and new features, should target PhpSpreadsheet master branch.

Do you need to migrate? There is an automated tool for that.


PhpSpreadsheet is licensed under MIT.

*Note that all licence references and agreements mentioned in the PhpSpreadsheet README section above are relevant to that project's source code only.