# openspout/openspout

Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

Repository: https://github.com/openspout/openspout
Canonical: https://ross.abutalabs.com/products/openspout
Homepage: https://github.com/openspout/openspout/tree/4.x/docs
Language: PHP
License: MIT
License Family: permissive
Topics: php, csv, ods, xlsx, spreadsheet
Last push: 2026-09-02T15:56:09+00:00

## Health v2 (maintenance only)
Score: 100/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 100, longevity 100
- inputs: {"age_days": 1646, "days_push": 0, "days_rel": 0, "gap_med": 10, "n_releases_24m": 40}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1230, forks 149 (observed 2026-09-03T02:15:15.845308+00:00)

## What it is
OpenSpout is a community-maintained PHP library for reading and writing spreadsheet files in CSV, XLSX, and ODS formats. It processes very large files in a streaming fashion while keeping memory usage under 3MB.

## Use cases
- read large xlsx files in php without running out of memory
- export database rows to csv or xlsx
- stream a large spreadsheet to the browser in symfony
- read data from a specific sheet in an ods file
- append rows to an existing spreadsheet
- convert csv to xlsx in php

## When to choose
- you need to process spreadsheets too large to load into memory
- you want fast, low-overhead reading/writing of CSV, XLSX, or ODS in PHP
- you are migrating from box/spout and want a maintained fork

## When to avoid
- you need rich formatting, formulas, charts, or cell styling
- you work outside the PHP ecosystem
- you need to modify complex existing workbooks in place

## Facets
- artifact type: library
- maturity: active
- function: parser, serialization, csv, file-system
- domain: files, spreadsheets, developer-tools
- platform: php, cli
- tags: xlsx, ods, spreadsheet, streaming, low-memory, box-spout-fork, data-engineering

## Member repositories
- openspout/openspout (main) score 100

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:15.845308+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:15:24.202333+00:00, confidence not recorded.
  - readme: https://github.com/openspout/openspout (fetched 2026-09-03T02:15:15.845308+00:00, sha f0af34690871)
  - homepage: https://github.com/openspout/openspout/tree/4.x/docs (fetched 2026-08-29T12:23:18.016189+00:00, sha e360623dff9f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
