jambagecom / base-excel
This provides the PhpSpreadsheet library, formerly phpExcel, from phpOffice.
Installs: 10 609
Dependents: 1
Suggesters: 1
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Open Issues: 0
Type:typo3-cms-extension
Requires
- phpoffice/phpspreadsheet: ^3.5
- typo3/cms-core: ^11.5 || ^12.4 || ^13.4
Replaces
- typo3-ter/base-excel: v3.5.0
README
What is does
This extension brings the "PhpSpreadsheet library" PHP classes "phpoffice/phpspreadsheet", formerly phpExcel, to TYPO3.
What is the origin
See https://github.com/PHPOffice/PhpSpreadsheet/tree/3.5.0
All the library classes are available in the extension file Library/phpoffice-phpspreadsheet.phar which is automatically included upon activation in the extension manager by composer or autoloader.
Documentation
https://github.com/PHPOffice/PhpSpreadsheet/tree/2.1.0
Installation
Via composer or the TER.
Composer
composer req jambagecom/base-excel
TER
https://extensions.typo3.org/extension/base_excel
phar-composer
Get it from here: https://github.com/clue/phar-composer
For developers
In case TYPO3 does not run in composer mode, the library directory can be rebuilt by
- running
composer run-script extension-create-libs
. - See chapter contributors.
For contributors
- Adapt the composer.json file's version of "phpoffice/phpspreadsheet" twice (e.g. 3.5).
- To build the TER package, you must delete the file Libraries/phpoffice-phpspreadsheet.phar
and run the command
composer run-script extension-release
in the extension folder for generating the archive. - At the beginning you will get the question: "No composer.json in current directory, do you want to use the one at /var/www/html/typo3conf/ext/base_excel? [Y,n]?". -- Here you must answer with N.
- Then everything will be downloaded and the resulting file Library/phpoffice-phpspreadsheet.phar will be generated.