PHPackages                             oeuvres/teinte - 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. oeuvres/teinte

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

oeuvres/teinte
==============

Transform texts from and to : TEI, DOCX, HTML, EPUB, MD.

0.1(3y ago)0128BSD-3-ClausePHPPHP &gt;=7.2

Since Dec 10Pushed 5mo ago3 watchersCompare

[ Source](https://github.com/oeuvres/teinte_php)[ Packagist](https://packagist.org/packages/oeuvres/teinte)[ RSS](/packages/oeuvres-teinte/feed)WikiDiscussions main Synced today

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

[Teinte\_php](https://github.com/oeuvres/teinte_php), TEI shades, PHP pilot
===========================================================================

[](#teinte_php-tei-shades-php-pilot)

Teinte\_php is an [open source](https://github.com/oeuvres/teinte_php) library to convert and publish texts with PHP. It is available as a composer package [oeuvres/teinte](https://packagist.org/packages/oeuvres/teinte). The heart is an embeded XSLT-1.0 pack of transformations [teinte\_xsl](https://github.com/oeuvres/teinte_xsl). The pivot format is a subset of [TEI](https://tei-c.org/release/docs/tei-p5-docs/en/html/REF-ELEMENTS.html), an academic XML schema dedicated to all forms of texts, not only blog posts but also: novels, theatre, letters… *Teinte suite* has been developed during more than 15 years, mainly by [Frédéric Glorieux](#) under different academic affiliations.

[![Teinte xsl](https://github.com/oeuvres/teinte/raw/main/docs/teinte_xsl.png)](https://github.com/oeuvres/teinte/blob/main/docs/teinte_xsl.png)

Some project using *Teinte*
---------------------------

[](#some-project-using-teinte)

### [*Complete works* of Denis de Rougemont (1906–1985)](https://www.unige.ch/rougemont/)

[](#complete-works-of-denis-de-rougemont-19061985)

[![Rougemont](https://camo.githubusercontent.com/1b881797b96b4e8652320456d15aab45b135b321842c51cbe747896b1c1de9f7/68747470733a2f2f6f6575767265732e6769746875622e696f2f7465696e74652f646f63732f73637265656e732f726f7567656d6f6e745f7465696e74652e706e67)](https://www.unige.ch/rougemont/) The *eRougemont* project, directed by Nicolas Stenger (Université de Genève), includes digitization, publication and mining of the complete works in [open source](https://github.com/erougemont/) (about 30 books and 1000 articles). *Teinte* was used to convert files obtained with OCR, from DOCX to TEI. The team of editors has been trained to correct TEI. Web publishing is done from the XML master to HTML, for the CMS of the university (Concrete 5).

### [The *ObTIC* converter](https://obtic.huma-num.fr/teinte/)

[](#the-obtic-converter)

[![ObTIC](https://camo.githubusercontent.com/9b98824fa28472231c10504d9b470e9fad39cb2085d3a6e588b64cc1779e7964/68747470733a2f2f6f6575767265732e6769746875622e696f2f7465696e74652f646f63732f73637265656e732f6f627469635f7465696e74652e706e67)](https://obtic.huma-num.fr/teinte/) [ObTIC](https://obtic.sorbonne-universite.fr/), “Observatoire des textes, des idées et des corpus”, is a lab of Sorbonne University, dedicated to texts. *Teinte* is used to convert texts from different sources and destinations. Their support made possible to develop a friendly interface online for conversions.

### [*Galenus verbatim*, complete works of Galen (129–216)](https://galenus-verbatim.huma-num.fr/)

[](#galenus-verbatim-complete-works-of-galen-129216)

[![Galenus Verbatim](https://camo.githubusercontent.com/6e76d5a3c4d07cb9d60242d9698bea40694ec15e9ea5735992484647c2f23795/68747470733a2f2f6f6575767265732e6769746875622e696f2f7465696e74652f646f63732f73637265656e732f67616c656e75735f7465696e74652e706e67)](https://galenus-verbatim.huma-num.fr/) The *Galenus verbatim* project, directed by Nathalie Rousseau (Sorbonne Université), is an electronic edition with a lemmatized search engine for the complete works of [Galen of Pergamon](https://en.wikipedia.org/wiki/Galen), about 100 “books”, or 14 000 pages. *Teinte* is used for the Greek works in open source, transformed from *Epidoc* TEI to HTML, and for the new digital edition of the modern Latin translations, from OCR, docx, to TEI (and HTML). Their support permits development of a PHP framework dedicated to publication of texts, with routing, logging and especially, transformations.

### [*eBalzac*, complete works of Honoré de Balzac (1799–1850)](https://www.ebalzac.com/)

[](#ebalzac-complete-works-of-honoré-de-balzac-17991850)

[![eBalzac](https://camo.githubusercontent.com/fb94e17dbb58a5721bf56b4786576fd3c975a0e0ae4c36d08fe959118da6a024/68747470733a2f2f6f6575767265732e6769746875622e696f2f7465696e74652f646f63732f73637265656e732f6562616c7a61635f7465696e74652e706e67)](https://www.ebalzac.com/) The *eBalzac* project; directed by Andrea Del Lungo (Université de Lille), Pierre Glaudes (Sorbonne Université) &amp; Jean-Gabriel Ganascia (Sorbonne Université); is an [Open Source](https://github.com/ebalzac/FC) new edition of the Balzac *works* according to the *Furne corrected* volumes (last correction of the author). *Teinte* was used to transform the office DOCX files of the editor in TEI and generate different formats for publication (HTML) and research (TXT). Their quality requirements was very high and good for the code.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance48

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1302d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5686231?v=4)[Frédéric Glorieux](/maintainers/glorieux-f)[@glorieux-f](https://github.com/glorieux-f)

---

Top Contributors

[![glorieux-f](https://avatars.githubusercontent.com/u/5686231?v=4)](https://github.com/glorieux-f "glorieux-f (179 commits)")

---

Tags

composer-packagedocx2teiepub2teiphpteitei2docxtei2htmltei2markdownteintexmlxslt

### Embed Badge

![Health badge](/badges/oeuvres-teinte/health.svg)

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

###  Alternatives

[getgrav/grav

Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS

15.6k86.4k1](/packages/getgrav-grav)[benjaminhoegh/parsedown-extended

An extension for Parsedown.

5126.7k1](/packages/benjaminhoegh-parsedown-extended)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[couscous/couscous

Documentation website generator

83970.1k24](/packages/couscous-couscous)[terrylinooo/githuber-md

An all-in-one WordPress Markdown plugin.

6892.1k](/packages/terrylinooo-githuber-md)[tovic/parsedown-extra-plugin

Configurable Markdown to HTML converter with Parsedown Extra.

5934.9k](/packages/tovic-parsedown-extra-plugin)

PHPackages © 2026

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