PHPackages                             ahmadyusri/phpspreadsheet - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. ahmadyusri/phpspreadsheet

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

ahmadyusri/phpspreadsheet
=========================

Forked from phpoffice/phpspreadsheet: PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine

1.23.2(4y ago)0611MITPHPPHP ^7.3 || ^8.0

Since Aug 17Pushed 4y agoCompare

[ Source](https://github.com/ahmadyusri/PhpSpreadsheet)[ Packagist](https://packagist.org/packages/ahmadyusri/phpspreadsheet)[ Docs](https://github.com/ahmadyusri/PhpSpreadsheet)[ RSS](/packages/ahmadyusri-phpspreadsheet/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (18)Versions (52)Used By (1)

PhpSpreadsheet
==============

[](#phpspreadsheet)

[![Build Status](https://github.com/PHPOffice/PhpSpreadsheet/workflows/main/badge.svg)](https://github.com/PHPOffice/PhpSpreadsheet/actions)[![Code Quality](https://camo.githubusercontent.com/0f560c9a2fd1033f1c32357e8746dd50038fc275ee95ee88475ffaa41cc94d9f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f5048504f66666963652f50687053707265616473686565742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/PHPOffice/PhpSpreadsheet/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/07904fb397758659ced0b0f4bd414c2bda0a2ab1045dc57952fea097e0e031c1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f5048504f66666963652f50687053707265616473686565742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/PHPOffice/PhpSpreadsheet/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/3a320549c951c98924a7de48782f9ef428e3446569bde9986d3e01315ac41475/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f5048504f66666963652f5068705370726561647368656574)](https://packagist.org/packages/phpoffice/phpspreadsheet)[![Latest Stable Version](https://camo.githubusercontent.com/8b8351e3041183c5877cfeb8a681a3280d883fb3405deae5755f91646f34ea91/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f5048504f66666963652f5068705370726561647368656574)](https://packagist.org/packages/phpoffice/phpspreadsheet)[![License](https://camo.githubusercontent.com/264867c05bb4d83e2c7afe8cb54894071fea51ee99faf6c336586b03778c965a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f5048504f66666963652f5068705370726561647368656574)](https://packagist.org/packages/phpoffice/phpspreadsheet)[![Join the chat at https://gitter.im/PHPOffice/PhpSpreadsheet](https://camo.githubusercontent.com/2dd4d0f228a76b3dd73355d3fb9101cd32fb849421b528669a9a7bbec7d5a25a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4749545445522d6a6f696e253230636861742d677265656e2e737667)](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
-------------------

[](#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](https://www.php.net/eol.php).

Currently the required PHP minimum version is PHP **7.3**.

See the `composer.json` for other requirements.

Installation
------------

[](#installation)

Use [composer](https://getcomposer.org) 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](https://php.watch/articles/composer-platform-check) for more details.

Documentation
-------------

[](#documentation)

Read more about it, including install instructions, in the [official documentation](https://phpspreadsheet.readthedocs.io). Or check out the [API documentation](https://phpoffice.github.io/PhpSpreadsheet).

Please ask your support questions on [StackOverflow](https://stackoverflow.com/questions/tagged/phpspreadsheet), or have a quick chat on [Gitter](https://gitter.im/PHPOffice/PhpSpreadsheet).

PHPExcel vs PhpSpreadsheet ?
----------------------------

[](#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](/docs/topics/migration-from-PHPExcel.md) for that.

License
-------

[](#license)

PhpSpreadsheet is licensed under [MIT](https://github.com/PHPOffice/PhpSpreadsheet/blob/master/LICENSE).

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~48 days

Total

38

Last Release

1467d ago

PHP version history (7 changes)1.0.0-betaPHP ^5.6|^7.0

1.9.0PHP ^7.1

1.13.0PHP ^7.2

1.15.0PHP ^7.2|^8.0

1.16.0PHP ^7.2||^8.0

1.18.0PHP ^7.2 || ^8.0

1.20.0PHP ^7.3 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/def749c7c005ef114e128dc2b0112c6ea7b6df9b021255c583f668516cecf625?d=identicon)[ahmadyusri](/maintainers/ahmadyusri)

---

Top Contributors

[![PowerKiKi](https://avatars.githubusercontent.com/u/72603?v=4)](https://github.com/PowerKiKi "PowerKiKi (494 commits)")[![oleibman](https://avatars.githubusercontent.com/u/10341515?v=4)](https://github.com/oleibman "oleibman (288 commits)")[![Progi1984](https://avatars.githubusercontent.com/u/1533248?v=4)](https://github.com/Progi1984 "Progi1984 (105 commits)")[![MarkBaker](https://avatars.githubusercontent.com/u/770298?v=4)](https://github.com/MarkBaker "MarkBaker (82 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (27 commits)")[![maartenba](https://avatars.githubusercontent.com/u/485230?v=4)](https://github.com/maartenba "maartenba (23 commits)")[![agopaul](https://avatars.githubusercontent.com/u/356427?v=4)](https://github.com/agopaul "agopaul (22 commits)")[![aswinkumar863](https://avatars.githubusercontent.com/u/32381261?v=4)](https://github.com/aswinkumar863 "aswinkumar863 (19 commits)")[![AkiraPenguin](https://avatars.githubusercontent.com/u/10262569?v=4)](https://github.com/AkiraPenguin "AkiraPenguin (16 commits)")[![Slamdunk](https://avatars.githubusercontent.com/u/152236?v=4)](https://github.com/Slamdunk "Slamdunk (11 commits)")[![ndench](https://avatars.githubusercontent.com/u/2062388?v=4)](https://github.com/ndench "ndench (11 commits)")[![ccrims0n](https://avatars.githubusercontent.com/u/4971419?v=4)](https://github.com/ccrims0n "ccrims0n (8 commits)")[![frantzmiccoli](https://avatars.githubusercontent.com/u/2973447?v=4)](https://github.com/frantzmiccoli "frantzmiccoli (8 commits)")[![Jean85](https://avatars.githubusercontent.com/u/6729988?v=4)](https://github.com/Jean85 "Jean85 (8 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (8 commits)")[![mjan4175](https://avatars.githubusercontent.com/u/62433832?v=4)](https://github.com/mjan4175 "mjan4175 (8 commits)")[![tiagof](https://avatars.githubusercontent.com/u/1729910?v=4)](https://github.com/tiagof "tiagof (7 commits)")[![xandros15](https://avatars.githubusercontent.com/u/10834079?v=4)](https://github.com/xandros15 "xandros15 (7 commits)")[![frost-nzcr4](https://avatars.githubusercontent.com/u/468395?v=4)](https://github.com/frost-nzcr4 "frost-nzcr4 (7 commits)")[![dgeppo](https://avatars.githubusercontent.com/u/107109388?v=4)](https://github.com/dgeppo "dgeppo (7 commits)")

---

Tags

phpexcelxlsxlsxOpenXMLspreadsheetodsgnumeric

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ahmadyusri-phpspreadsheet/health.svg)

```
[![Health](https://phpackages.com/badges/ahmadyusri-phpspreadsheet/health.svg)](https://phpackages.com/packages/ahmadyusri-phpspreadsheet)
```

###  Alternatives

[phpoffice/phpspreadsheet

PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine

14.3k318.2M1.5k](/packages/phpoffice-phpspreadsheet)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
