I tried to use PhpSpreadsheet. In Issues section I found that the master branch is now broken.
I tried to use the develop branch, but I can't find a fully functional and ready to copy\paste version. There are no Autoloader.php and etc. like in the stable branch. I just want to use this library.
In master branch I found
After I can use this library like this
require_once 'Autoloader.php';
\PhpOffice\PhpSpreadsheet\Autoloader::register();
$reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader('Excel5');
What can I do to use develop branch without any difficult?
I'd suggest you use PHP composer to define the version of 'phpoffice/phpspreadsheet' you want to run.
In my case, i declare this dependency in my project
{
"require": {
"phpoffice/phpspreadsheet": "dev-develop"
}
}