# viest/php-ext-xlswriter

🚀 PHP Extension for creating and reader XLSX files.

Repository: https://github.com/viest/php-ext-xlswriter
Canonical: https://ross.abutalabs.com/products/php-ext-xlswriter
Homepage: https://xlswriter.viest.me
Language: C
License: BSD-2-Clause
License Family: permissive
Topics: php, excel, extension, xlsx-files, xlsx-writer, xlsxwriter, xlsx, dll, excel-export, excelwriter, swoole, laravel, phalcon, xlsxreader, xlswriter, pecl, low-memory, performance, pie, libxlsx
Last push: 2026-08-24T05:45:12+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 92, longevity 100
- inputs: {"age_days": 3205, "days_push": 9, "days_rel": 59, "gap_med": 15.5, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2372, forks 237 (observed 2026-08-28T04:06:41.848086+00:00)

## What it is
A high-performance PHP C extension for reading and writing Excel 2007+ XLSX files, with a fixed-memory mode that keeps memory usage constant regardless of row count. It also supports CSV merging and cursor-based reading of large spreadsheets.

## Use cases
- export millions of rows to xlsx from php with low memory
- read large excel files row by row in php
- generate excel reports faster than phpspreadsheet
- merge multiple csv files into one spreadsheet
- stream xlsx export without exhausting php memory

## When to choose
- you need to export or import very large XLSX files in PHP with constant memory usage
- pure-PHP libraries like PhpSpreadsheet are too slow or memory-hungry
- you want a fast C-based extension installable via PECL

## When to avoid
- you need rich formatting, charts, or complex Excel features beyond basic writing/reading
- you cannot install PHP C extensions on your hosting environment
- you need to work with legacy .xls files rather than XLSX

## Facets
- artifact type: library
- maturity: stable
- function: file-system, developer-tools
- domain: files, spreadsheets, developer-tools, performance
- platform: windows, php
- tags: xlsx, excel, php-extension, spreadsheet, low-memory, csv, pecl, linux, macos

## Member repositories
- viest/php-ext-xlswriter (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:41.848086+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-30T02:35:10.010224+00:00, confidence not recorded.
  - readme: https://github.com/viest/php-ext-xlswriter (fetched 2026-08-28T04:06:41.848086+00:00, sha c80a8bdc1a1a)
  - homepage: https://xlswriter.viest.me (fetched 2026-08-29T10:16:10.814287+00:00, sha 0c7bea758707)
  - site_page: https://xlswriter.viest.me/docs/index.html (fetched 2026-08-29T10:16:10.816576+00:00, sha c344538cea9c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
