PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine
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.
Read more about it, including install instructions, in the official documentation:
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 develop branch.
PhpSpreadsheet is licensed under LGPL (GNU LESSER GENERAL PUBLIC LICENSE)