(C) 2009 - 2018 by Mourad Louha · All rights reserved

Read and write Excel and other Office documents with PHP

Sometimes, I also use PHP for implementing features for my websites. A very interesting and professional managed open source class library for reading and writing Excel documents in PHP is the “PHPExcel” project which can be found on CodePlex.


For using the libraries, you may have at least PHP 5.2.0 installed on your server. The extensions “php_zip”, “php_xml” and “php_gd2” may also be active; however the first one is only needed if you would like to create documents in the XLSX format. The class library also contains function for reading and writing Excel documents in the older XLS binary file format. A detailed English description about the project can be found on its website.

The sister projects “PHPPowerPoint” and “PHPWord” are relatively new and also partially managed by the same developers of “PHPExcel”. In the following, the links to the different projects:

This article has also been published on the German Version of the Excel Ticker blog.


Trackbacks for this post

Leave a Reply