# PHPOffice/PHPPresentation

A pure PHP library for reading and writing presentations documents

Repository: https://github.com/PHPOffice/PHPPresentation
Canonical: https://ross.abutalabs.com/products/phppresentation
Homepage: https://phpoffice.github.io/PHPPresentation
Language: PHP
License: NOASSERTION
License Family: other
Topics: php, libreoffice-impress, powerpoint, odp, ppt, pptx, presentation, office, mspowerpoint, hacktoberfest
Last push: 2026-08-26T15:15:41+00:00

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

## Adoption (not part of the score)
Stars 1373, forks 544 (observed 2026-08-28T04:04:32.856010+00:00)

## What it is
PHPPresentation is a pure PHP library for reading and writing presentation documents such as PowerPoint (.pptx, .ppt) and OpenDocument Presentation (.odp) files. It provides an object-oriented in-memory representation of slides, shapes, charts, and images, with writers and readers for multiple formats.

## Use cases
- generate powerpoint presentations from php
- create pptx files programmatically
- read and modify odp presentation files
- build slide decks from templates with php
- add charts and images to generated presentations
- convert presentation data between office formats

## When to choose
- you need to generate or manipulate .pptx or .odp files from PHP without external tools
- you want a pure-PHP solution with no native dependencies beyond the ZIP extension
- you need fine-grained control over slides, shapes, charts, and document properties

## When to avoid
- you work in a language other than PHP
- you need to render presentations to PDF or images directly (limited support)
- you need to edit heavily formatted existing decks with full fidelity

## Facets
- artifact type: library
- maturity: active
- function: serialization, file-system
- domain: files, developer-tools
- platform: php, cross-platform
- tags: powerpoint, pptx, odp, presentations, office-documents, phpoffice

## Member repositories
- PHPOffice/PHPPresentation (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:32.856010+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-30T04:40:40.425901+00:00, confidence not recorded.
  - readme: https://github.com/PHPOffice/PHPPresentation (fetched 2026-08-28T04:04:32.856010+00:00, sha 746826e2f8f9)
  - homepage: https://phpoffice.github.io/PHPPresentation (fetched 2026-08-29T11:57:01.620508+00:00, sha 96aa36f97e7e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
