PhpSpreadsheet Library for Joomla! 3.x
If you already know how to use PhpSpreadsheet and you need it for a Joomla! project, than this is a library package to be used in Joomla! Easy to install and update.
You can download the current version / older version of PhpSpreadsheet-Joomla-Library using the PhpSpreadsheet-Joomla-Library download page.
- The current Joomla! Library is using PhpSpreadsheet 1.26.0.
// Import PhpSpreadsheet library
jimport('phpspreadsheet.phpspreadsheet');
use PhpOffice\PhpSpreadsheet\Spreadsheet;
or
require_once JPATH_LIBRARIES . '/phpspreadsheet/phpspreadsheet.php';
use PhpOffice\PhpSpreadsheet\Spreadsheet;
Now you can create a new Excel document:
$spreadsheet = new Spreadsheet();
If you have any problems installing / updating PhpSpreadsheet Library in Joomla! feel free to Add a New issue
If you are having problems with PhpSpreadsheet itself and you think is a bug or something, check the PhpSpreadsheet Issue Tracker
- Special thanks to the PHPOffice team which put the PhpSpreadsheet library together.
- Thanks to Valentin Despa for PHPExcel Library for Joomla! in which it is based this repository.
- Also thanks to Joe for the inspiration.
PhpSpreadsheet is licensed under LGPL (GNU LESSER GENERAL PUBLIC LICENSE)
The library folder was build using the given composer.json file and executing:
composer update --no-dev --prefer-dist