PhpSpreadsheet
A pure PHP library for reading and writing spreadsheet files observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 80
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 3727
- days_rel: 52
- days_push: 11
- n_releases_24m: 89
Adoption not part of the score
13980 stars · 3627 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PhpSpreadsheet is a pure PHP library providing classes to read and write spreadsheet files in formats such as Excel (.xlsx, .xls), LibreOffice Calc (.ods), CSV, Gnumeric, SYLK, and PDF. It is the successor to PHPExcel and supports formulas, styling, and cell manipulation across formats.
Use cases
- generate Excel xlsx reports from PHP
- read and parse uploaded xlsx files
- convert CSV to Excel format
- export data to ODS or PDF spreadsheets
- manipulate spreadsheet cells, formulas, and styles in PHP
- import Excel data into a database
When to choose
- you need to read or write Excel, ODS, or CSV files from PHP without external office software
- you need formula evaluation, styling, or multi-format spreadsheet support
- you are migrating from the deprecated PHPExcel library
When to avoid
- you work outside PHP
- you only need lightweight CSV handling (use a simple CSV parser)
- you need extremely fast streaming of very large spreadsheets with minimal memory
- you need to render complex native Excel charts or pivot tables
Facets
library · maturity stable
serialization file-system csv pdf spreadsheets files web-development developer-tools php cross-platform excel xlsx ods xls spreadsheet libreoffice gnumeric sylk phpexcel
2 sources
- readme: https://github.com/PHPOffice/PhpSpreadsheet · fetched 2026-08-28 · 21cc8d50df89
- homepage: https://phpspreadsheet.readthedocs.io · fetched 2026-08-29 · 9fd6aa48889f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| PHPOffice/PhpSpreadsheet | main | 93 |
| PHPOffice/PHPExcel | mirror | 10 |
For agents
markdown · JSON · MCP: product_card(name="PHPOffice/PhpSpreadsheet")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem