1c6dd8923e
* Handle Error in Formula Processing Better for Xls When there is an error writing a formula to an Xls file, which seems to happen when a defined name is part of a formula, the cell is currently left blank. A better result would be to write the calculated value of the formula. * Making Changes Suggested in Review Per comment from Mark Baker: 1. Made return codes from writeFormula into constants. 2. Skipped redundant call to getCellValue when possible. 3. Added support for bool type, adding additional tests for bool and string. Per comment from PowerKiki: 1. Used standardized convention for assigning file name in test. Since before this change, save would throw Exception, I kept the unlink for the file in tearDown. |
||
---|---|---|
.github | ||
bin | ||
docs | ||
samples | ||
src | ||
tests | ||
.gitattributes | ||
.gitignore | ||
.php_cs.dist | ||
.sami.php | ||
.scrutinizer.yml | ||
.travis.yml | ||
CHANGELOG.PHPExcel.md | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
composer.json | ||
composer.lock | ||
mkdocs.yml | ||
phpunit.xml.dist |
README.md
PhpSpreadsheet
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.
Documentation
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.
License
PhpSpreadsheet is licensed under MIT.