PHPackages                             small-code-dog/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. small-code-dog/phpspreadsheet

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

small-code-dog/phpspreadsheet
=============================

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

01PHPCI failing

Since Jul 10Pushed 5y agoCompare

[ Source](https://github.com/SmallCodeDog/phpSoreadshee)[ Packagist](https://packagist.org/packages/small-code-dog/phpspreadsheet)[ RSS](/packages/small-code-dog-phpspreadsheet/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#phpspreadsheet)

[![Build Status](https://camo.githubusercontent.com/d2f33663872a165de1a97c93a528ce2ad9000e355bc2bf1f7a8cd6f4cb0275f9/68747470733a2f2f7472617669732d63692e6f72672f5048504f66666963652f50687053707265616473686565742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/PHPOffice/PhpSpreadsheet)[![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/b7a23b7b8144192b84b0178af6ce10d7fdf518bed86acf3a4c6ffb836ff1200d/68747470733a2f2f706f7365722e707567782e6f72672f7068706f66666963652f70687073707265616473686565742f646f776e6c6f6164732e706e67)](https://packagist.org/packages/phpoffice/phpspreadsheet)[![Latest Stable Version](https://camo.githubusercontent.com/d189d783ba06989f842012cd667cbda2d38998f9d860784ae86a991f70e0b9ab/68747470733a2f2f706f7365722e707567782e6f72672f7068706f66666963652f70687073707265616473686565742f762f737461626c652e706e67)](https://packagist.org/packages/phpoffice/phpspreadsheet)[![License](https://camo.githubusercontent.com/b9396258a6889b8fcb5371333995b1c5978e0fbec52a20c5e8af4f71a1cbf736/68747470733a2f2f706f7365722e707567782e6f72672f7068706f66666963652f70687073707265616473686565742f6c6963656e73652e706e67)](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 providing a set of classes that allow you to read from and to write to different spreadsheet file formats, like Excel and LibreOffice Calc.

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

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/40165341?v=4)[代码狗儿](/maintainers/SmallCodeDog)[@SmallCodeDog](https://github.com/SmallCodeDog)

---

Top Contributors

[![SmallCodeDog](https://avatars.githubusercontent.com/u/40165341?v=4)](https://github.com/SmallCodeDog "SmallCodeDog (5 commits)")

### Embed Badge

![Health badge](/badges/small-code-dog-phpspreadsheet/health.svg)

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

###  Alternatives

[gathercontent/htmldiff

Compare two HTML strings

11289.4k1](/packages/gathercontent-htmldiff)

PHPackages © 2026

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