PHPackages                             alxishin/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. alxishin/phpspreadsheet

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

alxishin/phpspreadsheet
=======================

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

4.0.2(1y ago)019MITPHPPHP ^8.1

Since Feb 25Pushed 1y agoCompare

[ Source](https://github.com/alxishin/PhpSpreadsheet)[ Packagist](https://packagist.org/packages/alxishin/phpspreadsheet)[ Docs](https://github.com/PHPOffice/PhpSpreadsheet)[ RSS](/packages/alxishin-phpspreadsheet/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (18)Versions (3)Used By (0)

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.

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

[](#installation)

See the [install instructions](https://phpspreadsheet.readthedocs.io/en/latest/#installation).

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).

Patreon
-------

[](#patreon)

I am now running a [Patreon](https://www.patreon.com/MarkBaker) to support the work that I do on PhpSpreadsheet.

Supporters will receive access to articles about working with PhpSpreadsheet, and how to use some of its more advanced features.

Posts already available to Patreon supporters:

- The Dating Game
    - A look at how MS Excel (and PhpSpreadsheet) handle date and time values.
- Looping the Loop
    - Advice on Iterating through the rows and cells in a worksheet.

And for Patrons at levels actively using PhpSpreadsheet:

- Behind the Mask
    - A look at Number Format Masks.

The Next Article (currently Work in Progress):

- Formula for Success
    - How to debug formulae that don't produce the expected result.

My aim is to post at least one article each month, taking a detailed look at some feature of MS Excel and how to use that feature in PhpSpreadsheet, or on how to perform different activities in PhpSpreadsheet.

Planned posts for the future include topics like:

- Tables
- Structured References
- AutoFiltering
- Array Formulae
- Conditional Formatting
- Data Validation
- Value Binders
- Images
- Charts

After a period of six months exclusive to Patreon supporters, articles will be incorporated into the public documentation for the library.

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

30

—

LowBetter than 64% of packages

Maintenance46

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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 ~0 days

Total

2

Last Release

438d ago

### Community

Maintainers

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

---

Top Contributors

[![oleibman](https://avatars.githubusercontent.com/u/10341515?v=4)](https://github.com/oleibman "oleibman (1393 commits)")[![PowerKiKi](https://avatars.githubusercontent.com/u/72603?v=4)](https://github.com/PowerKiKi "PowerKiKi (602 commits)")[![MarkBaker](https://avatars.githubusercontent.com/u/770298?v=4)](https://github.com/MarkBaker "MarkBaker (518 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (112 commits)")[![Progi1984](https://avatars.githubusercontent.com/u/1533248?v=4)](https://github.com/Progi1984 "Progi1984 (106 commits)")[![aswinkumar863](https://avatars.githubusercontent.com/u/32381261?v=4)](https://github.com/aswinkumar863 "aswinkumar863 (24 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)")[![AkiraPenguin](https://avatars.githubusercontent.com/u/10262569?v=4)](https://github.com/AkiraPenguin "AkiraPenguin (16 commits)")[![ndench](https://avatars.githubusercontent.com/u/2062388?v=4)](https://github.com/ndench "ndench (11 commits)")[![fox34](https://avatars.githubusercontent.com/u/18050078?v=4)](https://github.com/fox34 "fox34 (11 commits)")[![Slamdunk](https://avatars.githubusercontent.com/u/152236?v=4)](https://github.com/Slamdunk "Slamdunk (11 commits)")[![fdjohnston](https://avatars.githubusercontent.com/u/4827454?v=4)](https://github.com/fdjohnston "fdjohnston (10 commits)")[![YoheiZuho](https://avatars.githubusercontent.com/u/26687568?v=4)](https://github.com/YoheiZuho "YoheiZuho (10 commits)")[![ccrims0n](https://avatars.githubusercontent.com/u/4971419?v=4)](https://github.com/ccrims0n "ccrims0n (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)")[![yfinkel](https://avatars.githubusercontent.com/u/16430043?v=4)](https://github.com/yfinkel "yfinkel (8 commits)")[![frantzmiccoli](https://avatars.githubusercontent.com/u/2973447?v=4)](https://github.com/frantzmiccoli "frantzmiccoli (8 commits)")[![mjan4175](https://avatars.githubusercontent.com/u/62433832?v=4)](https://github.com/mjan4175 "mjan4175 (8 commits)")

---

Tags

phpexcelxlsxlsxOpenXMLspreadsheetodsgnumeric

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[phpoffice/phpspreadsheet

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

13.9k293.5M1.2k](/packages/phpoffice-phpspreadsheet)

PHPackages © 2026

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