PHPackages                             zetacomponents/document - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. zetacomponents/document

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

zetacomponents/document
=======================

The Document components provides a general conversion framework for different semantic document markup languages like XHTML, Docbook, RST and similar.

1.3.9(6mo ago)252.7M↑58.1%8[1 PRs](https://github.com/zetacomponents/Document/pulls)2Apache-2.0PHPCI passing

Since May 13Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/zetacomponents/Document)[ Packagist](https://packagist.org/packages/zetacomponents/document)[ Docs](https://github.com/zetacomponents)[ RSS](/packages/zetacomponents-document/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (33)Used By (2)

Zeta Components Document component
==================================

[](#zeta-components-document-component)

[![https://travis-ci.org/zetacomponents/Document.png?branch=master](https://camo.githubusercontent.com/d1d1513aeddbf435f0d3dd37680757853e148a987e5ff7c9c0ad437395e03c9a/68747470733a2f2f7472617669732d63692e6f72672f7a657461636f6d706f6e656e74732f446f63756d656e742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/zetacomponents/Document)The document component offers transformations between different semantic markup languages, like:

- [ReStructured text](http://docutils.sourceforge.net/rst.html)
- [XHTML](http://www.w3.org/TR/xhtml1/)
- [Docbook](http://www.docbook.org/)
- [eZ Publish XML markup](http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/XML-tags)
- Wiki markup languages, like: [Creole](http://www.wikicreole.org/), [Dokuwiki](http://www.dokuwiki.org/dokuwiki) and [Confluence](http://confluence.atlassian.com/renderer/notationhelp.action?section=all)
- [Open Document Text](http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office) as used by [OpenOffice.org](http://www.openoffice.org/) and other office suites

Each format supports conversions from and to docbook as a central intermediate format and may implement additional shortcuts for conversions from and to other formats. Not each format can express the same semantics, so there may be some information lost.

To check out features and usage of the graph component check out the [tutorial](docs/tutorial.txt).

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance74

Regular maintenance activity

Popularity50

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 72.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~228 days

Recently: every ~101 days

Total

29

Last Release

187d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/892698bb1d3f6dae0e3a44abe3e26920ddb4eb000c6c583c87b4db5e5027e166?d=identicon)[beberlei](/maintainers/beberlei)

![](https://www.gravatar.com/avatar/87eaea74e4be4e86084decfe79612a4fb7b3bd76718a54368a0fe8593de7873b?d=identicon)[derickr](/maintainers/derickr)

---

Top Contributors

[![kore](https://avatars.githubusercontent.com/u/154398?v=4)](https://github.com/kore "kore (650 commits)")[![tobyS](https://avatars.githubusercontent.com/u/187140?v=4)](https://github.com/tobyS "tobyS (140 commits)")[![derickr](https://avatars.githubusercontent.com/u/208074?v=4)](https://github.com/derickr "derickr (94 commits)")[![beberlei](https://avatars.githubusercontent.com/u/26936?v=4)](https://github.com/beberlei "beberlei (3 commits)")[![lolautruche](https://avatars.githubusercontent.com/u/313528?v=4)](https://github.com/lolautruche "lolautruche (2 commits)")[![mvriel](https://avatars.githubusercontent.com/u/193704?v=4)](https://github.com/mvriel "mvriel (2 commits)")[![forgandenny](https://avatars.githubusercontent.com/u/2554234?v=4)](https://github.com/forgandenny "forgandenny (1 commits)")[![guillaumelecerf](https://avatars.githubusercontent.com/u/2005706?v=4)](https://github.com/guillaumelecerf "guillaumelecerf (1 commits)")[![pbek](https://avatars.githubusercontent.com/u/1798101?v=4)](https://github.com/pbek "pbek (1 commits)")[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (1 commits)")[![jpic](https://avatars.githubusercontent.com/u/94636?v=4)](https://github.com/jpic "jpic (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zetacomponents-document/health.svg)

```
[![Health](https://phpackages.com/badges/zetacomponents-document/health.svg)](https://phpackages.com/packages/zetacomponents-document)
```

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[hassankhan/config

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

97513.5M170](/packages/hassankhan-config)[meyfa/php-svg

Read, edit, write, and render SVG files with PHP

54613.9M42](/packages/meyfa-php-svg)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
