Skip to content

A pure PHP library for reading and writing spreadsheet files

License

Notifications You must be signed in to change notification settings

carleii/PhpSpreadsheet

This branch is 2001 commits behind PHPOffice/PhpSpreadsheet:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c936f1d · Jun 1, 2022
Apr 23, 2022
Nov 17, 2021
May 31, 2022
Jun 19, 2021
May 29, 2022
Jun 1, 2022
Jun 1, 2022
May 20, 2021
Feb 15, 2021
Apr 1, 2022
Jul 26, 2020
May 25, 2020
Oct 28, 2018
May 25, 2022
Mar 30, 2021
Nov 17, 2019
May 26, 2022
May 1, 2022
May 1, 2022
Feb 15, 2021
May 29, 2022
May 10, 2022
Feb 12, 2022
Nov 18, 2021

Repository files navigation

PhpSpreadsheet

Build Status Code Quality Code Coverage Total Downloads Latest Stable Version License Join the chat at https://gitter.im/PHPOffice/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:

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.

About

A pure PHP library for reading and writing spreadsheet files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%