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. 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. Support for PHP versions will only be maintained for a period of six months beyond the end of life of that PHP version. Use composer to install PhpSpreadsheet into your project. Or also download the documentation and samples if you plan to use them. A good way to get started is to run some of the samples. Don't forget to download them via --prefer-source composer flag. And then serve them via PHP built-in webserver. PhpSpreadsheet relies on Composer autoloader. So before working with PhpSpreadsheet in standalone, be sure to run composer install.
Features
- 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.
- It is necessary to use UTF-8 encoding for all texts in PhpSpreadsheet
- PhpSpreadsheet uses a measure where padding is included
- PhpSpreadsheet can read a number of different spreadsheet and file formats