PHPOffice/PHPWord
A pure PHP library for reading and writing word processing documents observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 99
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5232
- days_rel: 454
- days_push: 7
- n_releases_24m: 1
Adoption not part of the score
7585 stars · 2731 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PHPWord is a pure PHP library for reading and writing word processing documents in formats such as DOCX, ODT, RTF, DOC, HTML, and PDF. It lets PHP scripts dynamically create documents with sections, styles, tables, images, charts, headers/footers, and template-based generation.
Use cases
- generate docx invoices from php
- create word documents programmatically
- read and parse docx files in php
- fill word document templates with data
- convert documents to pdf or html from php
- generate odt reports with tables and images
When to choose
- you need to create or modify Word/OpenDocument documents from PHP without external tools
- you want template-based document generation with images, tables, and charts
- you need a pure PHP solution with no native dependencies
When to avoid
- you need full-fidelity conversion between complex office formats
- you work outside PHP
- you need to render PDFs with precise layout control rather than basic PDF output
Facets
library · maturity stable
parser pdf templating file-system files pdf developer-tools web-development php cross-platform docx odt rtf word-documents office-documents document-generation php-library
2 sources
- readme: https://github.com/PHPOffice/PHPWord · fetched 2026-08-28 · 89a3bf3dc623
- homepage: https://phpoffice.github.io/PHPWord/ · fetched 2026-08-29 · 9472e803d498
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| PHPOffice/PHPWord | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="PHPOffice/PHPWord")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem