Download the PHP package ecbc-phpoffice/phpspreadsheet without Composer
On this page you can find all versions of the php package ecbc-phpoffice/phpspreadsheet. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ecbc-phpoffice/phpspreadsheet
More information about ecbc-phpoffice/phpspreadsheet
Files in ecbc-phpoffice/phpspreadsheet
Package phpspreadsheet
Short Description PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine
License MIT
Homepage https://github.com/PHPOffice/PhpSpreadsheet
Informations about the package phpspreadsheet
PhpSpreadsheet
PhpSpreadsheet is a library written in pure PHP and offers a set of classes that allow you to read and write various spreadsheet file formats such as Excel and LibreOffice Calc.
PHP version support
LTS: Support for PHP versions will only be maintained for a period of six months beyond the end of life of that PHP version.
Currently the required PHP minimum version is PHP 7.3.
See the composer.json
for other requirements.
Installation
Use composer to install PhpSpreadsheet into your project:
If you are building your installation on a development machine that is on a different PHP version to the server where it will be deployed, or if your PHP CLI version is not the same as your run-time such as php-fpm
or Apache's mod_php
, then you might want to add the following to your composer.json
before installing:
and then run
to ensure that the correct dependencies are retrieved to match your deployment environment.
See CLI vs Application run-time for more details.
Additional Installation Options
If you want to write to PDF, or to include Charts when you write to HTML or PDF, then you will need to install additional libraries:
For PDF Generation, you can install any of the following, and then configure PhpSpreadsheet to indicate which library you are going to use:
- mpdf/mpdf
- dompdf/dompdf
- tecnickcom/tcpdf
and configure PhpSpreadsheet using:
or the appropriate PDF Writer wrapper for the library that you have chosen to install.
Chart Export
For Chart export, we support, which you will also need to install yourself
- jpgraph/jpgraph
and then configure PhpSpreadsheet using:
You can composer/require
the github version of jpgraph, but this was abandoned at version 4.0; or manually download the latest version that supports PHP 8 and above from jpgraph.net
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.
Do you need to migrate? There is an automated tool for that.
License
PhpSpreadsheet is licensed under MIT.
All versions of phpspreadsheet with dependencies
ext-ctype Version *
ext-dom Version *
ext-fileinfo Version *
ext-gd Version *
ext-iconv Version *
ext-libxml Version *
ext-mbstring Version *
ext-simplexml Version *
ext-xml Version *
ext-xmlreader Version *
ext-xmlwriter Version *
ext-zip Version *
ext-zlib Version *
ezyang/htmlpurifier Version ^4.13
maennchen/zipstream-php Version ^2.1
markbaker/complex Version ^3.0
markbaker/matrix Version ^3.0
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/simple-cache Version ^1.0 || ^2.0