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)231MITPHP

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 4w ago

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 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

1109d 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

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M283](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

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

Parser for CSS Files written in PHP

1.8k191.2M63](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M343](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

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

PHPackages © 2026

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