ahmadyusri / phpspreadsheet
Forked from phpoffice/phpspreadsheet: PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine
Requires
- php: ^7.3 || ^8.0
- ext-ctype: *
- ext-dom: *
- ext-fileinfo: *
- ext-gd: *
- ext-iconv: *
- ext-libxml: *
- ext-mbstring: *
- ext-simplexml: *
- ext-xml: *
- ext-xmlreader: *
- ext-xmlwriter: *
- ext-zip: *
- ext-zlib: *
- ezyang/htmlpurifier: ^4.13
- maennchen/zipstream-php: ^2.1
- markbaker/complex: ^3.0
- markbaker/matrix: ^3.0
- psr/http-client: ^1.0
- psr/http-factory: ^1.0
- psr/simple-cache: ^1.0 || ^2.0 || ^3.0
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: dev-master
- dompdf/dompdf: ^1.0
- friendsofphp/php-cs-fixer: ^3.2
- jpgraph/jpgraph: ^4.0
- mpdf/mpdf: 8.1.1
- phpcompatibility/php-compatibility: ^9.3
- phpstan/phpstan: ^1.1
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^8.5 || ^9.0
- squizlabs/php_codesniffer: ^3.7
- tecnickcom/tcpdf: ^6.4
Suggests
- dompdf/dompdf: Option for rendering PDF with PDF Writer (doesn't yet support PHP8)
- jpgraph/jpgraph: Option for rendering charts, or including charts with PDF or HTML Writers
- mpdf/mpdf: Option for rendering PDF with PDF Writer
- tecnickcom/tcpdf: Option for rendering PDF with PDF Writer (doesn't yet support PHP8)
- dev-master
- 1.23.2
- 1.23.1
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.1
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.1
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.1
- 1.10.0
- 1.9.0
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.1
- 1.4.0
- 1.3.1
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.0
- 1.0.0-beta2
- 1.0.0-beta
- dev-PhpBench-Performance-in-CI
- dev-CalculationEngine-Array-Formulae-Initial-Work
- dev-2.0-Development
- dev-Clear-In-Memory-Cache-when-unsetting_worksheet
- dev-Experiment-Maintaining-Excel-Function-List-as-an-ArrayObject-2
- dev-Experiment-Maintaining-Excel-Function-List-as-an-ArrayObject
- dev-2.0-Cell-Index-Experiment
- dev-Issue-2551_Array-enable-Database-Functions
- dev-PHP8-Sane-Property-Names
- dev-Xlsx-Reader-Refactor-Zip-Reader
- dev-Trend-Unit-Tests
- dev-NumberFormatMask-Helpers
- dev-Excel-Formula-Exception-Codes
This package is auto-updated.
Last update: 2024-10-26 20:32:36 UTC
README
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:
composer require phpoffice/phpspreadsheet
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:
{ "require": { "phpoffice/phpspreadsheet": "^1.23" }, "config": { "platform": { "php": "7.3" } } }
and then run
composer install
to ensure that the correct dependencies are retrieved to match your deployment environment.
See CLI vs Application run-time for more details.
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.