# mk-j/PHP_XLSXWriter

Lightweight XLSX Excel Spreadsheet Writer in PHP

Repository: https://github.com/mk-j/PHP_XLSXWriter
Canonical: https://ross.abutalabs.com/products/php_xlsxwriter
Language: PHP
License: MIT
License Family: permissive
Topics: php, excel, xlsx
Last push: 2023-09-25T20:18:25+00:00

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

## Adoption (not part of the score)
Stars 1867, forks 663 (observed 2026-08-28T04:05:46.278730+00:00)

## What it is
A lightweight PHP library for writing Excel-compatible XLSX (Office 2007+) spreadsheets with minimal memory usage. It supports multiple worksheets, cell formatting, simple formulas, basic styling, and streaming large (100K+ row) exports.

## Use cases
- export data to xlsx in php
- write large excel files without running out of memory
- generate spreadsheets with currency and date formatting
- stream 100k+ row reports to excel
- create multi-sheet xlsx workbooks from php

## When to choose
- you only need to write (not read) xlsx files in PHP
- memory usage is a concern for large exports
- you want a simple, dependency-light alternative to PHPExcel/PhpSpreadsheet

## When to avoid
- you need to read or parse existing xlsx files
- you need advanced Excel features like charts, pivot tables, or rich styling
- you need active development and frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: serialization, file-system
- domain: spreadsheets, files, web-development
- platform: php, cli
- tags: xlsx, excel, spreadsheet-writer, low-memory

## Member repositories
- mk-j/PHP_XLSXWriter (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:46.278730+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-30T03:15:30.716862+00:00, confidence not recorded.
  - readme: https://github.com/mk-j/PHP_XLSXWriter (fetched 2026-08-28T04:05:46.278730+00:00, sha f6fffdce551c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
