PHPackages                             trismegiste/wikitext - 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. trismegiste/wikitext

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

trismegiste/wikitext
====================

PHP wikitext parser

1.0.2(3y ago)239MITPHP

Since Apr 17Pushed 3y agoCompare

[ Source](https://github.com/Trismegiste/wikitext)[ Packagist](https://packagist.org/packages/trismegiste/wikitext)[ RSS](/packages/trismegiste-wikitext/feed)WikiDiscussions master Synced today

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

Wikitext parser [![Build Status](https://camo.githubusercontent.com/4c14a0c6f312c71dfb46388e18f51bb8286369ae852c0d265fe451e38a4652d6/68747470733a2f2f7472617669732d63692e6f72672f6d696b6534322f77696b69746578742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mike42/wikitext)
============================================================================================================================================================================================================================================================================================

[](#wikitext-parser-)

This library can be used to add basic wikitext (Mediawiki-style) support to a PHP app. Its role is NOT, by any means, to replace the Parsoid library from Wikimedia foundation, but to use the same syntaxic core of wikitext. Furthermore, you can extend this parser very easily to your project specifications (specially for url generation and templates).

This repository was forked from the [abandoned project mike42.me/wikitext](http://mike42.me/wikitext/), that's why I've created a new package on Packagist.

Code may be re-mixed and re-used under the MIT licence. See 'examples' folder for usage.

Notes about this fork
=====================

[](#notes-about-this-fork)

- Abstracting
- Removing anti-patterns
- Unit testing
- Template Method Design Pattern for extending the html rendering

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.7% 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 ~186 days

Total

3

Last Release

1165d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/64cc99ca21a090b2454784670e4ac49db17794d6861078eeceebdbe302365c3f?d=identicon)[trismegiste](/maintainers/trismegiste)

---

Top Contributors

[![mike42](https://avatars.githubusercontent.com/u/2080552?v=4)](https://github.com/mike42 "mike42 (56 commits)")[![Trismegiste](https://avatars.githubusercontent.com/u/1260026?v=4)](https://github.com/Trismegiste "Trismegiste (21 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/trismegiste-wikitext/health.svg)

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

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19139.2M47](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9843.5k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

45153.1k6](/packages/jstewmc-rtf)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

113.2k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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