Local clone of [PhpSpreadsheet](https://github.com/PHPOffice/PhpSpreadsheet/)
Go to file
anton-harvey f7518dadc9
Return false if the zip entry could not be located
Previously the function did not check whether the return value of `ZipArchive::locateName`
was `false`. And when it was, it was passed straight into `ZipArchive::getFromIndex`,
which casts it to an integer, resulting in it incorrectly retrieving the entry at index `0`.

Fixes #262
Closes #268
2017-11-02 15:42:45 +09:00
.github Add issue and PR template 2017-05-07 16:54:41 +02:00
bin Make global usage of `use` instead of FQCN 2017-05-18 00:10:16 +02:00
docs Fix typo 2017-10-30 11:37:24 +09:00
samples Rename classes to keep them in their related namespaces 2017-10-29 17:39:42 +09:00
src Return false if the zip entry could not be located 2017-11-02 15:42:45 +09:00
tests Add possibility to check validity of a cell value, based on data validation rules 2017-10-31 14:07:24 +09:00
.gitattributes Delete Build system 2016-08-26 18:11:03 +09:00
.gitignore Upgrade to PHP-CS-Fixer 2.0 2016-12-22 23:46:26 +09:00
.php_cs.dist Don't use short list syntax to keep PHP 5.6 compatibility 2017-10-01 21:50:40 +09:00
.scrutinizer.yml Introducing publicly accessible Scrutinizer configuration (#242) 2017-10-08 21:42:51 +09:00
.travis.yml Fix Travis 2017-10-01 18:17:31 +09:00
CHANGELOG.PHPExcel.md Split changelog not to confuse version numbers 2017-04-14 17:38:40 +09:00
CHANGELOG.md Return false if the zip entry could not be located 2017-11-02 15:42:45 +09:00
CONTRIBUTING.md Document the prerequisite of `composer check` for contributions 2017-09-11 14:57:12 +09:00
LICENSE Remove boilerplates 2017-09-30 22:12:28 +09:00
README.md Remove boilerplates 2017-09-30 22:12:28 +09:00
composer.json Upgrade chart rendering support to be composer based 2017-10-29 01:58:42 +09:00
composer.lock Upgrade chart rendering support to be composer based 2017-10-29 01:58:42 +09:00
mkdocs.yml Workaround for RTD search 2017-05-05 11:56:18 +02:00
phpunit.xml.dist Drop support for PclZip 2017-03-11 11:48:46 +09:00

README.md

PhpSpreadsheet

Master: Build Status Code Quality Code Coverage Total Downloads Latest Stable Version License Join the chat at https://gitter.im/PHPOffice/PhpSpreadsheet

Develop: Build Status Code Quality Code Coverage

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, either at the online version:

https://phpspreadsheet.readthedocs.io

Or directly in this repository in the folder docs/.

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 develop branch.

However PhpSpreadsheet is still unstable and not yet released. So if you need stability stick to PHPExcel until this project is released. If you prefer to live on the edge you can try to install this project manually via composer, but there is no guarantee and it will likely break again before an official release.

License

PhpSpreadsheet is licensed under LGPL (GNU LESSER GENERAL PUBLIC LICENSE)