PHP Excel is a library purely written in PHP that provides set of classes to read and write different spreadsheet file formats such as Excel (.xls), CSV, and Excel 2007 (xlsx), to name a few. It was officially deprecated in 2017 and permanently archived in 2019. But because of it’s popularity it is still widely searched up until today. However, developers need not to worry because there is a direct PHP Excel successor, the PHPSpreadsheet.
PHPSpreadsheet supports latest versions of PHP. It is also a library written in pure PHP and offers a set of classes that allow reading and writing of various spreadsheet file formats such as Excel and LibreOffice Calc. It is recommended that all PHP Excel users migrate to PhpSpreadsheet.
To get started with PhpSpreadsheet, here are some tutorials to read on.