PHPackages                             zaman-ua/openspout - 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. zaman-ua/openspout

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

zaman-ua/openspout
==================

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

v4.26.0(1y ago)013MITPHPPHP ~8.2.0 || ~8.3.0 || ~8.4.0

Since Mar 2Pushed 1y agoCompare

[ Source](https://github.com/zaman-ua/openspout)[ Packagist](https://packagist.org/packages/zaman-ua/openspout)[ Docs](https://github.com/openspout/openspout)[ Fund](https://paypal.me/filippotessarotto)[ GitHub Sponsors](https://github.com/Slamdunk)[ RSS](/packages/zaman-ua-openspout/feed)WikiDiscussions 4.x Synced 1mo ago

READMEChangelogDependencies (7)Versions (58)Used By (0)

OpenSpout
=========

[](#openspout)

[![Latest Stable Version](https://camo.githubusercontent.com/b4e9142581d61183188531eb0f58b2744d214dfab0c09f8007d31bc2d078d509/68747470733a2f2f706f7365722e707567782e6f72672f6f70656e73706f75742f6f70656e73706f75742f762f737461626c65)](https://packagist.org/packages/openspout/openspout)[![Total Downloads](https://camo.githubusercontent.com/60fddfee505e1c29d7dabaa31fc8842a5d9483218c1a516ededd572ca2ddb09d/68747470733a2f2f706f7365722e707567782e6f72672f6f70656e73706f75742f6f70656e73706f75742f646f776e6c6f616473)](https://packagist.org/packages/openspout/openspout)[![Build Status](https://github.com/openspout/openspout/actions/workflows/ci.yml/badge.svg)](https://github.com/openspout/openspout/actions/workflows/ci.yml)[![Infection MSI](https://camo.githubusercontent.com/6c31313fd57fc5fdcbfa79945d057c8be198d429c179273beee4b174b155ef6d/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532466f70656e73706f75742532466f70656e73706f7574253246342e78)](https://dashboard.stryker-mutator.io/reports/github.com/openspout/openspout/4.x)

OpenSpout is a community driven fork of `box/spout`, a PHP library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way. Unlike other file readers or writers, it is capable of processing very large files, while keeping the memory usage really low (less than 3MB).

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

[](#documentation)

Documentation can be found at [`docs/`](docs).

Upgrade from `box/spout:v3` to `openspout/openspout:v3`
-------------------------------------------------------

[](#upgrade-from-boxspoutv3-to-openspoutopenspoutv3)

1. Replace `box/spout` with `openspout/openspout` in your `composer.json`
2. Replace `Box\Spout` with `OpenSpout` in your code

Upgrade guide
-------------

[](#upgrade-guide)

Version 4 introduced new functionality but also some breaking changes. If you want to upgrade your OpenSpout codebase please consult the [Upgrade guide](UPGRADE.md).

Copyright and License
---------------------

[](#copyright-and-license)

This is a fork of Box's Spout library:

Code until and directly descending from commit [`cc42c1d`](https://github.com/openspout/openspout/commit/cc42c1d29fc5d29f07caeace99bd29dbb6d7c2f8)is copyright of *Box, Inc.* and licensed under the Apache License, Version 2.0:

Code created, edited and released after the commit mentioned above is copyright of *openspout* Github organization and licensed under MIT License.

###  Health Score

38

—

LowBetter than 84% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity80

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

Recently: every ~28 days

Total

58

Last Release

540d ago

Major Versions

v3.7.3 → v4.0.02022-03-24

v3.7.4 → v4.2.12022-03-31

PHP version history (7 changes)v3.4.0PHP ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0

v4.0.0PHP ~8.0.0 || ~8.1.0

v4.8.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0

v4.14.0PHP ~8.1.0 || ~8.2.0

v4.21.0PHP ~8.2.0 || ~8.3.0

v4.22.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0

v4.26.0PHP ~8.2.0 || ~8.3.0 || ~8.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e4e6085c9ca41ae26d271f4a8f12c6a3ffe104f99ae72b5ba66abb7e4f16735f?d=identicon)[zaman-ua](/maintainers/zaman-ua)

---

Top Contributors

[![adrilo](https://avatars.githubusercontent.com/u/7086917?v=4)](https://github.com/adrilo "adrilo (282 commits)")[![Slamdunk](https://avatars.githubusercontent.com/u/152236?v=4)](https://github.com/Slamdunk "Slamdunk (227 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (125 commits)")[![aphofstede](https://avatars.githubusercontent.com/u/701218?v=4)](https://github.com/aphofstede "aphofstede (22 commits)")[![madflow](https://avatars.githubusercontent.com/u/183248?v=4)](https://github.com/madflow "madflow (16 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (8 commits)")[![guss77](https://avatars.githubusercontent.com/u/381782?v=4)](https://github.com/guss77 "guss77 (8 commits)")[![alamirault](https://avatars.githubusercontent.com/u/9253091?v=4)](https://github.com/alamirault "alamirault (7 commits)")[![bionda740](https://avatars.githubusercontent.com/u/71380556?v=4)](https://github.com/bionda740 "bionda740 (5 commits)")[![eisberg](https://avatars.githubusercontent.com/u/9015003?v=4)](https://github.com/eisberg "eisberg (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![sutrik](https://avatars.githubusercontent.com/u/22319963?v=4)](https://github.com/sutrik "sutrik (4 commits)")[![sfichera](https://avatars.githubusercontent.com/u/3146077?v=4)](https://github.com/sfichera "sfichera (4 commits)")[![jverelst](https://avatars.githubusercontent.com/u/1706949?v=4)](https://github.com/jverelst "jverelst (3 commits)")[![jwhulette](https://avatars.githubusercontent.com/u/4930051?v=4)](https://github.com/jwhulette "jwhulette (3 commits)")[![mawi12345](https://avatars.githubusercontent.com/u/339631?v=4)](https://github.com/mawi12345 "mawi12345 (3 commits)")[![yiranzai](https://avatars.githubusercontent.com/u/20548510?v=4)](https://github.com/yiranzai "yiranzai (3 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (3 commits)")[![jmsche](https://avatars.githubusercontent.com/u/3929498?v=4)](https://github.com/jmsche "jmsche (3 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (3 commits)")

---

Tags

streamphpexcelxlsxcsvmemoryodfofficeOOXMLspreadsheetodsopenreadwritescale

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/zaman-ua-openspout/health.svg)

```
[![Health](https://phpackages.com/badges/zaman-ua-openspout/health.svg)](https://phpackages.com/packages/zaman-ua-openspout)
```

###  Alternatives

[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.1k57.6M128](/packages/openspout-openspout)

PHPackages © 2026

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